Skip to content

Commit

Permalink
Merge pull request #220 from nationalarchives/change-github-workflow-…
Browse files Browse the repository at this point in the history
…to-use-aws-oidc

[FCL-447] Change GitHub workflow to use AWS OIDC
  • Loading branch information
Stretch96 authored Nov 18, 2024
2 parents 2b846e0 + 5340b28 commit dc67e6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ jobs:
- uses: aws-actions/setup-sam@v2
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_PRODUCTION_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_PRODUCTION_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
aws-region: eu-west-2
- run: sam build --use-container -m requirements/base.txt
- run: >
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
- uses: aws-actions/setup-sam@v2
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
aws-region: eu-west-2
- run: sam build --use-container -m requirements/base.txt
- run: >
Expand Down

0 comments on commit dc67e6a

Please sign in to comment.