Skip to content

Commit d437bf5

Browse files
authored
fix(ci): change SAR assume role options (#3005)
1 parent 5365098 commit d437bf5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/reusable_deploy_v2_sar.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,7 @@ jobs:
104104
uses: aws-actions/configure-aws-credentials@ef93a73b1313f148011965ef7361f667f371f58b # v3.0.0
105105
id: aws-credentials-sar-role
106106
with:
107-
aws-access-key-id: ${{ env.AWS_ACCESS_KEY_ID }}
108-
aws-secret-access-key: ${{ env.AWS_SECRET_ACCESS_KEY }}
109-
aws-session-token: ${{ env.AWS_SESSION_TOKEN }}
107+
role-chaining: true
110108
role-duration-seconds: 1200
111109
aws-region: ${{ env.AWS_REGION }}
112110
role-to-assume: ${{ secrets.AWS_SAR_V2_ROLE_ARN }}

0 commit comments

Comments
 (0)