add homework 7.4

This commit is contained in:
2022-06-28 13:48:50 +07:00
parent bb13a1061e
commit 8959c84e46
12 changed files with 256 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!make
tf-init:
cd ./terraform \
&& env $(cat ../.env) terraform init
tf-init-upgrade:
cd ./terraform \
&& env $(cat ../.env) terraform init -upgrade
tf-plan:
cd ./terraform \
&& env $(cat ../.env) terraform plan
tf-ws-prod:
cd ./terraform \
&& terraform workspace select prod
tf-ws-stage:
cd ./terraform \
&& terraform workspace select stage
tf-ws-current:
cd ./terraform \
&& terraform workspace list