diff --git a/.github/workflows/dotnet-ec2-asg-e2e-test.yml b/.github/workflows/dotnet-ec2-asg-e2e-test.yml index 159a5cded..af20b46fc 100644 --- a/.github/workflows/dotnet-ec2-asg-e2e-test.yml +++ b/.github/workflows/dotnet-ec2-asg-e2e-test.yml @@ -60,7 +60,7 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ env.E2E_TEST_ACCOUNT_ID }} + role-to-assume: arn:aws:iam::${{ env.E2E_TEST_ACCOUNT_ID }}:role/${{ env.E2E_TEST_ROLE_NAME }} aws-region: us-east-1 - name: Retrieve account diff --git a/.github/workflows/dotnet-ec2-default-e2e-test.yml b/.github/workflows/dotnet-ec2-default-e2e-test.yml index 13c5ffd15..63587ba54 100644 --- a/.github/workflows/dotnet-ec2-default-e2e-test.yml +++ b/.github/workflows/dotnet-ec2-default-e2e-test.yml @@ -60,7 +60,7 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ env.E2E_TEST_ACCOUNT_ID }} + role-to-assume: arn:aws:iam::${{ env.E2E_TEST_ACCOUNT_ID }}:role/${{ env.E2E_TEST_ROLE_NAME }} aws-region: us-east-1 - name: Retrieve account diff --git a/.github/workflows/dotnet-eks-e2e-test.yml b/.github/workflows/dotnet-eks-e2e-test.yml index b3a9a7cdc..e6b469bbd 100644 --- a/.github/workflows/dotnet-eks-e2e-test.yml +++ b/.github/workflows/dotnet-eks-e2e-test.yml @@ -81,7 +81,7 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ env.E2E_TEST_ACCOUNT_ID }} + role-to-assume: arn:aws:iam::${{ env.E2E_TEST_ACCOUNT_ID }}:role/${{ env.E2E_TEST_ROLE_NAME }} aws-region: us-east-1 - name: Retrieve account