Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Terraform_ec2_instance
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rajat.kulkarni
Terraform_ec2_instance
Commits
0c641cda
Commit
0c641cda
authored
Oct 14, 2021
by
rajat.kulkarni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
07b4b270
Pipeline
#23502
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
.gitlab-ci.yml
.gitlab-ci.yml
+15
-12
No files found.
.gitlab-ci.yml
View file @
0c641cda
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment