fixed drone syntax
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2023-10-27 13:12:12 +02:00
parent 838383a53c
commit aac7f4c087

View File

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