Merge pull request 'fix: revert workspace selection as validate does not initialize backend' (!45) from fix/terraform-validate-backend-error into main
Reviewed-on: #45 Reviewed-by: Marcel Frey <Marcel.Frey@schmalz.de>
This commit is contained in:
commit
f6549e5a5b
1 changed files with 0 additions and 9 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue