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

Update .gitlab-ci.yml

parent 07b4b270
Pipeline #23502 failed
...@@ -18,6 +18,9 @@ variables: ...@@ -18,6 +18,9 @@ variables:
TF_CACHE_KEY: default TF_CACHE_KEY: default
TF_STATE_NAME: default TF_STATE_NAME: default
before script:
- terraform init -input=false
cache: cache:
paths: paths:
- .terraform - .terraform
...@@ -33,15 +36,15 @@ stages: ...@@ -33,15 +36,15 @@ stages:
build: # build:
#image: alpine:latest # #image: alpine:latest
stage: build # stage: build
script: # script:
- terraform init -input=false # - terraform init -input=false
tags: # tags:
- rr # - rr
only: # only:
- master # - master
plan: plan:
tags: tags:
...@@ -61,8 +64,8 @@ apply: ...@@ -61,8 +64,8 @@ apply:
script: script:
- terraform apply - terraform apply
dependencies: dependencies:
- build - plan
when: manual #when: manual
only: only:
- master - master
...@@ -76,7 +79,7 @@ destroy: ...@@ -76,7 +79,7 @@ destroy:
- terraform destroy - terraform destroy
dependencies: dependencies:
- apply - apply
when: manual #when: manual
only: only:
refs: refs:
- master - 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