Skip to content

Commit 6092551

Browse files
test - try add role-session-name to run-integration-tests-default
1 parent 3b2602a commit 6092551

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/run-integration-tests-default.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ jobs:
3232
uses: aws-actions/configure-aws-credentials@v4
3333
with:
3434
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_DEPLOY_ROLE }}
35+
role-session-name: run_integration_test_default
3536
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
3637
- name: 'Set up temp AWS credentials'
3738
run: |
38-
creds=($(aws sts get-session-token \
39+
creds=($(aws sts get-federation-token \
40+
--name run_integration_test_default\
3941
--duration-seconds 21600 \
4042
--query 'Credentials.[AccessKeyId, SecretAccessKey, SessionToken]' \
4143
--output text \

0 commit comments

Comments
 (0)