This commit is contained in:
@@ -13,7 +13,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- terraform -chdir=infrastructure init
|
- terraform -chdir=infrastructure init
|
||||||
|
|
||||||
- name: Terraform syntax check
|
- name: Terraform syntax check for pull request
|
||||||
image: hashicorp/terraform:1.5
|
image: hashicorp/terraform:1.5
|
||||||
commands:
|
commands:
|
||||||
- terraform -chdir=infrastructure fmt -diff -check
|
- terraform -chdir=infrastructure fmt -diff -check
|
||||||
@@ -21,7 +21,7 @@ steps:
|
|||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
- name: terraform plan
|
- name: terraform plan for pull request
|
||||||
image: hashicorp/terraform:1.5
|
image: hashicorp/terraform:1.5
|
||||||
commands:
|
commands:
|
||||||
- terraform -chdir=infrastructure validate
|
- terraform -chdir=infrastructure validate
|
||||||
@@ -35,7 +35,7 @@ steps:
|
|||||||
event:
|
event:
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
- name: terraform apply
|
- name: terraform apply for pull request
|
||||||
image: hashicorp/terraform:1.5
|
image: hashicorp/terraform:1.5
|
||||||
commands:
|
commands:
|
||||||
- terraform -chdir=infrastructure validate
|
- terraform -chdir=infrastructure validate
|
||||||
@@ -78,7 +78,7 @@ steps:
|
|||||||
- push
|
- push
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: terraform plan
|
- name: terraform infrastructure plan
|
||||||
image: hashicorp/terraform:1.5
|
image: hashicorp/terraform:1.5
|
||||||
commands:
|
commands:
|
||||||
- terraform -chdir=infrastructure validate
|
- terraform -chdir=infrastructure validate
|
||||||
|
|||||||
Reference in New Issue
Block a user