Commit 0eef8cbe authored by rajat.kulkarni's avatar rajat.kulkarni

Update .gitlab-ci.yml

parent d793ee76
Pipeline #23518 passed with stage
in 22 seconds
...@@ -46,17 +46,17 @@ stages: ...@@ -46,17 +46,17 @@ stages:
# only: # only:
# - master # - master
plan: # plan:
tags: # tags:
- rr # - rr
stage: plan # stage: plan
script: # script:
- terraform validate # - terraform validate
- touch config.plan # - touch config.plan
- terraform plan -out config.plan # - terraform plan -out config.plan
- terraform apply config.plan # - terraform apply config.plan
only: # only:
- master # - master
# apply: # apply:
...@@ -79,8 +79,8 @@ destroy: ...@@ -79,8 +79,8 @@ destroy:
script: script:
- echo "Destroying resources" - echo "Destroying resources"
- terraform destroy - terraform destroy
dependencies: # dependencies:
- plan # - plan
# - apply # - apply
#when: manual #when: manual
only: only:
......
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