Skip to content

Commit

Permalink
Add role duration to fix OIDC error
Browse files Browse the repository at this point in the history
When role duration is not set, the workflow fails with:
`It looks like you might be trying to authenticate with OIDC.`
  • Loading branch information
gzurowski committed May 22, 2024
1 parent 5e10517 commit c97df63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
aws-secret-access-key: ${{ secrets.NEW_AWS_SECRET_ACCESS_KEY }}
role-to-assume: arn:aws:iam::905418417735:role/researchhub/staging-assume-beanstalk-deploy
role-session-name: github-actions-beanstalk-deploy
role-duration-seconds: 1500
role-skip-session-tagging: true
aws-region: us-east-1
output-credentials: true
Expand Down

0 comments on commit c97df63

Please sign in to comment.