Commit 28c128e8 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix(workspace): unset $TF_WORKSPACE to avoid conflict with Terraform

parent 88160406
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -423,9 +423,9 @@ stages:
    # select workspace if configured
    if [[ -n "$workspace" ]]
    then
      log_info "--- Terraform workspace \\e[33;1m${workspace}\\e[0m: select"
      log_info "--- use workspace: \\e[33;1m${workspace}\\e[0m"
      unset TF_WORKSPACE
      terraform workspace select "$workspace"
      log_info "--- Terraform workspace \\e[33;1m${workspace}\\e[0m: selected"
    fi
  }