mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-26 07:42:36 +03:00
add homework 7.4
This commit is contained in:
20
src/homework/07-terraform/7.4/Makefile
Normal file
20
src/homework/07-terraform/7.4/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user