Add terraform fmt to .terraform-validate CI step

This commit is contained in:
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

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