Add terraform fmt to .terraform-validate CI step
This commit is contained in:
parent
c9a7a2755d
commit
b0d97bf4e1
1 changed files with 1 additions and 0 deletions
|
@ -769,6 +769,7 @@ tox-inventory-builder:
|
|||
stage: unit-tests
|
||||
script:
|
||||
- terraform validate -var-file=cluster.tf ../../contrib/terraform/$PROVIDER
|
||||
- terraform fmt -check -diff ../../contrib/terraform/$PROVIDER
|
||||
|
||||
.terraform_apply: &terraform_apply
|
||||
<<: *terraform_install
|
||||
|
|
Loading…
Reference in a new issue