CI: autoapprove for terraform apply

This commit is contained in:
vincent 2024-02-13 20:29:44 +01:00
parent 2c0da4bd15
commit 70e0d6011b

View File

@ -2,9 +2,9 @@ env := production
deploy_vault:
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
terraform -chdir=vault apply
terraform -chdir=vault apply -auto-approve
endif
deploy_dns: