Skip to content

Commit

Permalink
Adding role session name and customizatin of IAM role
Browse files Browse the repository at this point in the history
  • Loading branch information
n0rtr0n committed Aug 25, 2024
1 parent bb568aa commit 4e909b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/prime-generator-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ jobs:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/GHAWS
role-to-assume: ${{ secrets.GH_ACTIONS_IAM_ROLE }}
role-session-name: GHActionsOIDC
aws-region: us-east-1

- name: Login to Amazon ECR
Expand Down

0 comments on commit 4e909b4

Please sign in to comment.