CI: autoapprove for terraform apply
This commit is contained in:
parent
2c0da4bd15
commit
70e0d6011b
@ -2,9 +2,9 @@ env := production
|
|||||||
|
|
||||||
deploy_vault:
|
deploy_vault:
|
||||||
ifneq (,$(wildcard ~/vaultUnseal/$(env)/rootkey))
|
ifneq (,$(wildcard ~/vaultUnseal/$(env)/rootkey))
|
||||||
VAULT_TOKEN=$(shell cat ~/vaultUnseal/$(env)/rootkey) terraform -chdir=vault apply
|
VAULT_TOKEN=$(shell cat ~/vaultUnseal/$(env)/rootkey) terraform -chdir=vault apply -auto-approve
|
||||||
else
|
else
|
||||||
terraform -chdir=vault apply
|
terraform -chdir=vault apply -auto-approve
|
||||||
endif
|
endif
|
||||||
|
|
||||||
deploy_dns:
|
deploy_dns:
|
||||||
|
Loading…
Reference in New Issue
Block a user