Skip to content

Commit

Permalink
updated workflow to not use oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
jburns24 committed Sep 21, 2023
1 parent b896e9f commit 43a9719
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- main
workflow_dispatch: {}

permissions:
id-token: write # Needed to modify JWT token for OIDC
contents: read # Needed for actions/checkout
# permissions:
# id-token: write # Needed to modify JWT token for OIDC
# contents: read # Needed for actions/checkout


jobs:
Expand All @@ -29,10 +29,10 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
# aws-access-key-id: ${{ secrets.PERSONAL_ACCESS_KEY }}
# aws-secret-access-key: ${{ secrets.PERSONAL_SECRET_ACCESS_KEY }}
# role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
role-to-assume: ${{ vars.OIDC_ROLE }}
aws-access-key-id: ${{ secrets.PERSONAL_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.PERSONAL_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
# role-to-assume: ${{ vars.OIDC_ROLE }}
aws-region: ${{ vars.AWS_REGION }}
role-skip-session-tagging: true

Expand Down

0 comments on commit 43a9719

Please sign in to comment.