update terraform script

This commit is contained in:
anthorob committed 2025-07-08 12:53:21 -04:00
1 parent 8892bf046d
commit beddf4fba1
1 file changed
+4 -5
+4 -5
View File
@@ -13,12 +13,11 @@ for dir in templates/*; do
validate_${name}:
stage: validate
image: alpine:latest
before_script:
- apk add --no-cache terraform
image: hashicorp/terraform:1.12
script:
- terraform -chdir=$dir init -backend=false
- terraform -chdir=$dir validate
- cd $dir
- init -backend=false
- validate
deploy_${name}:
stage: deploy