From a551af457fa9fef5580940be4ffd4fa483d7a61e Mon Sep 17 00:00:00 2001 From: Joel Klinger Date: Tue, 2 Jan 2024 16:53:31 +0000 Subject: [PATCH] [release/2024-01-02] Fix-forward: add qa-sandbox as persistent workspace --- .github/workflows/deploy-nonprod-workspace.yml | 2 +- scripts/infrastructure/terraform/terraform-utils.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy-nonprod-workspace.yml b/.github/workflows/deploy-nonprod-workspace.yml index 6b3ca34e7..686008dca 100644 --- a/.github/workflows/deploy-nonprod-workspace.yml +++ b/.github/workflows/deploy-nonprod-workspace.yml @@ -23,6 +23,6 @@ jobs: uses: ./.github/workflows/_deploy.yml with: account: ${{ inputs.account }} - workspace: ${{ inputs.account }}${{ inputs.sandbox == 'true' && '-sandbox' || '' }} + workspace: ${{ inputs.account }}${{ inputs.sandbox == true && '-sandbox' || '' }} scope: "per_workspace" secrets: inherit # pragma: allowlist secret diff --git a/scripts/infrastructure/terraform/terraform-utils.sh b/scripts/infrastructure/terraform/terraform-utils.sh index 0ba229650..d2c360a34 100644 --- a/scripts/infrastructure/terraform/terraform-utils.sh +++ b/scripts/infrastructure/terraform/terraform-utils.sh @@ -1,7 +1,6 @@ #!/bin/bash source ./scripts/infrastructure/terraform/terraform-constants.sh -PERSISTENT_WORKSPACES=("dev" "qa" "ref" "int" "prod" "dev-sandbox" "int-sandbox" "ref-sandbox") function _get_account_name() {