Skip to content

Commit

Permalink
chore: access aws iam role arn for GH actions via secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
m-sureshraj committed Jan 2, 2024
1 parent 210e640 commit ac8748f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deployment-with-gh-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::552686430014:role/github-actions-ci-cd-deployment-role
mask-aws-account-id: true
role-to-assume: ${{ secrets.AWS_GITHUB_ACTIONS_ROLE_ARN }}
role-session-name: github-action-sls-examples
aws-region: ${{ env.AWS_REGION }}

Expand Down

0 comments on commit ac8748f

Please sign in to comment.