UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 542495f1 authored by Ismail Ahmad's avatar Ismail Ahmad
Browse files

fix(gitlab-ci): testing a tf_var change

parent 4378d97d
No related branches found
No related tags found
1 merge request!153BB-1271 Fix TF Workspace Deletion
Pipeline #132612 failed
......@@ -3,6 +3,12 @@ certs/
.DS_Store
.terraform
*.pem
*rke2.yaml
*tfstate*
# dependencies
/node_modules
......
......@@ -17,10 +17,9 @@ include:
interruptible: false
variables:
TF_IN_AUTOMATION: "1"
TF_VAR_env: ${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}
TF_VAR_env: $(echo "${CI_COMMIT_REF_SLUG}"| cut -c 1-7)-$(echo "${CI_COMMIT_SHA}" | cut -c 1-7)
before_script:
# Shorten the env name down to 15 characters
- export TF_VAR_env=$(echo "${CI_COMMIT_REF_SLUG}"| cut -c 1-7)-$(echo "${CI_COMMIT_SHA}" | cut -c 1-7)
- cd ${CI_PROJECT_DIR}/${TF_ROOT}
- terraform version
- terraform init -input=false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment