mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 23:32:37 +03:00
add homework 7.3, complete task 1
This commit is contained in:
12
src/homework/07-terraform/7.3/Makefile
Normal file
12
src/homework/07-terraform/7.3/Makefile
Normal file
@@ -0,0 +1,12 @@
|
||||
#!make
|
||||
include .env
|
||||
|
||||
tf-init:
|
||||
cd ./terraform \
|
||||
&& env $(cat ../.env) terraform init \
|
||||
-backend-config="access_key=${YC_STORAGE_ACCESS_KEY}" \
|
||||
-backend-config="secret_key=${YC_STORAGE_SECRET_KEY}"
|
||||
|
||||
tf-plan:
|
||||
cd ./terraform \
|
||||
&& env $(cat ../.env) terraform plan
|
||||
Reference in New Issue
Block a user