From 03d5db9e86adbc09da07b770a705846cdf20a496 Mon Sep 17 00:00:00 2001 From: majanjua-amzn Date: Tue, 23 Sep 2025 09:54:51 -0700 Subject: [PATCH] fix: remove condition to fetch adaptive sampling account credentials --- .github/workflows/java-ec2-adaptive-sampling-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/java-ec2-adaptive-sampling-test.yml b/.github/workflows/java-ec2-adaptive-sampling-test.yml index 897005e88..fcb5e2571 100644 --- a/.github/workflows/java-ec2-adaptive-sampling-test.yml +++ b/.github/workflows/java-ec2-adaptive-sampling-test.yml @@ -61,8 +61,8 @@ jobs: secret-ids: | ACCOUNT_ID, adaptive-sampling-region-account/prod-${{ env.E2E_TEST_AWS_REGION }} + # Get the credentials for the adaptive sampling account specifically - name: Configure AWS Credentials - if: ${{ github.event.repository.name == 'aws-application-signals-test-framework' }} uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: arn:aws:iam::${{ env.ACCOUNT_ID }}:role/${{ env.E2E_TEST_ROLE_NAME }}