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