Skip to content
Snippets Groups Projects
Commit 5177c3a2 authored by Ole Langbehn's avatar Ole Langbehn
Browse files

NOISSUE replace shell or with terraform parameter for better readability and consistency

parent db79d59c
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,6 @@ TAG=$2
TF_LOG_PATH=terraform-init.log terraform init
TF_LOG_PATH=terraform-version.log terraform version
TF_LOG_PATH=terraform-workspace.log terraform workspace new "$WORKSPACE" || terraform workspace select "$WORKSPACE"
TF_LOG_PATH=terraform-workspace.log terraform workspace select -or-create=true "$WORKSPACE"
TF_LOG_PATH=terraform-plan.log terraform plan -var="image_tag=$TAG" -out plan -no-color | tee tfplan.plain
TF_LOG_PATH=terraform-apply.log terraform apply -auto-approve -parallelism=50 plan
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment