This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -8,10 +8,18 @@ trigger:
|
||||
- main
|
||||
|
||||
steps:
|
||||
- name: Terraform FMT PR
|
||||
- name: Terraform syntax check
|
||||
image: hashicorp/terraform:1.5
|
||||
commands:
|
||||
- terraform -chdir=infrastructure fmt -diff -check
|
||||
# when:
|
||||
# event:
|
||||
# - pull_request
|
||||
- name: terraform plan
|
||||
image: hashicorp/terraform:1.5
|
||||
commands:
|
||||
- terraform init
|
||||
- terraform plan
|
||||
# when:
|
||||
# event:
|
||||
# - pull_request
|
||||
Reference in New Issue
Block a user