fix: revert workspace selection as validate does not initialize backend
All checks were successful
validate-shared-actions / validate-shared-actions (pull_request) Successful in 32s
Aikido Security PR Check / Aikido Security Scan (pull_request) Successful in 48s

This commit is contained in:
Böhringer_Sebastian_-_J._Schmalz_GmbH 2026-06-15 09:28:00 +02:00
parent 463f657b4a
commit 36343e0a79

View file

@ -69,15 +69,6 @@ runs:
TF_TOKEN_schmalz_jfrog_io: ${{ inputs.jfrog-token }}
run: terraform -chdir=${{ env.TF_DIR }} init -backend=false -no-color
- name: Terraform Select Workspace
if: ${{ inputs.workspace != '' }}
shell: bash
env:
TF_DIR: ${{ inputs.terraform-dir }}
TF_WORKSPACE_NAME: ${{ inputs.workspace }}
run: |
terraform -chdir="$TF_DIR" workspace select -or-create "$TF_WORKSPACE_NAME"
- name: Terraform Format Check
shell: bash
env: