Commit 04a0f193 authored by rajat.kulkarni's avatar rajat.kulkarni

Update .gitlab-ci.yml

parent 0cd68553
Pipeline #23532 failed with stages
in 2 minutes and 27 seconds
......@@ -50,9 +50,10 @@ deploy:
stage: deploy
script:
- terraform plan
- touch aa.plan
- touch aa.terraform
- terraform plan -out aa.terraform
- terraform apply aa.terraform
- terraform destroy
#- terraform apply config.plan
only:
- master
......@@ -76,6 +77,7 @@ destroy:
- rr
stage: destroy
script:
- terraform init
- echo "Destroying resources"
- terraform destroy
# dependencies:
......@@ -83,5 +85,4 @@ destroy:
# - apply
#when: manual
only:
refs:
- master
\ No newline at end of file
- master
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment