Commit 6ab589af authored by Marcel Amirault's avatar Marcel Amirault

Merge branch 'add-terraform-fmt' into 'master'

Adding terraform fmt to the Terraform template

See merge request gitlab-org/gitlab!69470
parents fbfc2404 fb2c1d72
......@@ -16,6 +16,9 @@ stages:
init:
extends: .terraform:init
fmt:
extends: .terraform:fmt
validate:
extends: .terraform:validate
......
......@@ -28,6 +28,14 @@ cache:
- cd ${TF_ROOT}
- gitlab-terraform init
.terraform:fmt: &terraform_fmt
stage: validate
needs: []
script:
- cd ${TF_ROOT}
- gitlab-terraform fmt -check -recursive
allow_failure: true
.terraform:validate: &terraform_validate
stage: validate
script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment