Skip to content

Commit

Permalink
Fix AWS OIDC Authentication from Github
Browse files Browse the repository at this point in the history
Signed-off-by: eternaltyro <230743+eternaltyro@users.noreply.github.com>
  • Loading branch information
eternaltyro committed May 16, 2024
1 parent 3034875 commit 7bfb472
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/ecs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,20 @@ jobs:
runs-on: ubuntu-latest
environment: production

permissions:
contents: read
id-token: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4

with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::670261699094:role/Github-AWS-OIDC
role-session-name: gh-ci-ecs-deploy

- name: Download task definition
run: |
Expand Down

0 comments on commit 7bfb472

Please sign in to comment.