fix(terraform): add required destroy variables for bootstrap dynamodb and s3 Makefiles
This commit is contained in:
parent
f6ebde7b96
commit
703e801752
@ -1,5 +1,6 @@
|
||||
init:
|
||||
terraform init --upgrade
|
||||
terraform init -migrate-state
|
||||
|
||||
apply: init
|
||||
terraform apply \
|
||||
@ -11,5 +12,5 @@ plan: init
|
||||
output: init
|
||||
terraform output
|
||||
destroy: init
|
||||
terraform destroy
|
||||
terraform destroy -var="table_name=svc-plus-iac-state-dynamodb-lock" -var="region=ap-northeast-1"
|
||||
|
||||
|
||||
@ -5,6 +5,7 @@ terraform_user_name ?= sit-ci-runner
|
||||
|
||||
init:
|
||||
terraform init --upgrade
|
||||
terraform init -migrate-state
|
||||
apply: init
|
||||
terraform apply -auto-approve \
|
||||
-var="account_name=$(account_name)" \
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
init:
|
||||
terraform init --upgrade
|
||||
terraform init -migrate-state
|
||||
|
||||
apply: init
|
||||
terraform apply -var="bucket_name=svc-plus-iac-state" -var=region=ap-northeast-1 -auto-approve
|
||||
@ -11,4 +12,4 @@ plan: init
|
||||
output: init
|
||||
terraform output
|
||||
destroy: init
|
||||
terraform destroy
|
||||
terraform destroy -var="bucket_name=svc-plus-iac-state" -var=region=ap-northeast-1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user