Commit c684f3ac authored by rajat.kulkarni's avatar rajat.kulkarni

Update .gitlab-ci.yml

parent 78c269b4
Pipeline #23524 failed with stages
in 2 minutes and 10 seconds
...@@ -27,9 +27,7 @@ cache: ...@@ -27,9 +27,7 @@ cache:
stages: stages:
- build - deploy
- plan
- apply
- destroy - destroy
...@@ -46,15 +44,16 @@ stages: ...@@ -46,15 +44,16 @@ stages:
# only: # only:
# - master # - master
plan: deploy:
tags: tags:
- rr - rr
stage: plan stage: deploy
script: script:
- terraform plan - terraform plan
- touch config.plan - touch aa.plan
- terraform plan -out config.plan - terraform plan -out aa.terraform
- terraform apply config.plan - terraform apply aa.terraform
#- terraform apply config.plan
only: only:
- master - master
......
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