Skip to content

Commit 51717d6

Browse files
committed
Debug S3 access
1 parent 637f6c5 commit 51717d6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/redis_release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,24 @@ on:
2323
jobs:
2424
redis-release:
2525
runs-on: ubuntu-latest
26+
permissions:
27+
id-token: write
28+
contents: read
2629

2730
steps:
31+
# The ${AWS_IAM_ROLE_ARN} variable created on step 2.c.
32+
- name: configure aws credentials
33+
uses: aws-actions/[email protected]
34+
with:
35+
role-to-assume: ${AWS_IAM_ROLE_ARN} #
36+
role-session-name: GitHub_to_AWS_via_FederatedOIDC
37+
aws-region: us-east-1 # IAM is a global service
38+
39+
- name: Sts GetCallerIdentity
40+
run: |
41+
aws sts get-caller-identity
42+
exit 1
43+
2844
- name: Checkout repository
2945
uses: actions/checkout@v4
3046

0 commit comments

Comments
 (0)