Browse Source

Add terraform fmt to .terraform-validate CI step

pull/4405/head
Andreas Holmsten 5 years ago
parent
commit
b0d97bf4e1
No known key found for this signature in database GPG Key ID: A151CE55FECCDA0D
1 changed files with 1 additions and 0 deletions
  1. 1
      .gitlab-ci.yml

1
.gitlab-ci.yml

@ -769,6 +769,7 @@ tox-inventory-builder:
stage: unit-tests stage: unit-tests
script: script:
- terraform validate -var-file=cluster.tf ../../contrib/terraform/$PROVIDER - terraform validate -var-file=cluster.tf ../../contrib/terraform/$PROVIDER
- terraform fmt -check -diff ../../contrib/terraform/$PROVIDER
.terraform_apply: &terraform_apply .terraform_apply: &terraform_apply
<<: *terraform_install <<: *terraform_install

Loading…
Cancel
Save