added plan step
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2023-10-27 11:17:59 +02:00
parent 30c3af1208
commit bfbf7c3a26

View File

@@ -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