Add terraform fmt to .terraform-validate CI step

pull/4405/head
Andreas Holmsten 2019-04-05 13:47:16 +02:00
parent c9a7a2755d
commit b0d97bf4e1
No known key found for this signature in database
GPG Key ID: A151CE55FECCDA0D
1 changed files with 1 additions and 0 deletions

View File

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