diff --git a/.github/actions/configure-aws-credentials/action.yml b/.github/actions/configure-aws-credentials/action.yml index 9378ba38..2a9bb1a9 100644 --- a/.github/actions/configure-aws-credentials/action.yml +++ b/.github/actions/configure-aws-credentials/action.yml @@ -63,7 +63,7 @@ runs: - name: Configure AWS credentials for test account uses: aws-actions/configure-aws-credentials@v4 - if: ${{ inputs.account-name == 'test' }} + if: ${{ contains(fromJSON('["test", "perf"]'), inputs.account-name) }} with: role-to-assume: ${{ inputs.test-account-role }} aws-region: ${{ inputs.aws-region }} diff --git a/.github/workflows/flush-caches-well-known-environment.yml b/.github/workflows/flush-caches-well-known-environment.yml index f623e711..da91dd2e 100644 --- a/.github/workflows/flush-caches-well-known-environment.yml +++ b/.github/workflows/flush-caches-well-known-environment.yml @@ -14,6 +14,7 @@ on: - dpd - test - staging + - perf env: AWS_REGION: "eu-west-2"