Skip to content
Snippets Groups Projects
Commit 5accf5b3 authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

addded -auto-approve flag to tf destroy

parent 470b640d
No related branches found
No related tags found
2 merge requests!6Add CD feature to the repo,!1wip: test-keypair without file
Pipeline #7908 passed with stages
in 1 minute and 28 seconds
......@@ -41,7 +41,7 @@ tf-apply:
- export BUILD_DATE=$(TZ=America/Chicago date +%Y%m%d)
- export TF_VAR_internal_network="tf-clusternet-$BUILD_DATE"
- export TF_VAR_external_network="tf-dmznet-$BUILD_DATE"
- terraform apply -auto-approve || terraform destroy
- terraform apply -auto-approve || terraform destroy -auto-approve
clean-up:
stage: cleanup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment