From 190c42aedea728996e669872738fa8aadec18d34 Mon Sep 17 00:00:00 2001 From: A-Ashiq Date: Wed, 5 Mar 2025 11:06:20 +0000 Subject: [PATCH 1/2] Allow test account IAM role to be assumed for `perf` env --- .github/actions/configure-aws-credentials/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} From dbef21b51dfd3bc9ab97148fc0bb1efccee4cb3a Mon Sep 17 00:00:00 2001 From: A-Ashiq Date: Wed, 5 Mar 2025 11:06:47 +0000 Subject: [PATCH 2/2] Allow for `perf` env caches to be flushed via workflow --- .github/workflows/flush-caches-well-known-environment.yml | 1 + 1 file changed, 1 insertion(+) 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"