Skip to content

Commit

Permalink
[FCL-447] Fix workflow OIDC secret names
Browse files Browse the repository at this point in the history
* Staging and production have different roles to assume
  • Loading branch information
Stretch96 committed Nov 18, 2024
1 parent b083cd2 commit 90e056a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: aws-actions/setup-sam@v2
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
role-to-assume: ${{ secrets.AWS_OIDC_PRODUCTION_ROLE_ARN }}
aws-region: eu-west-2
- run: sam build --use-container -m requirements/base.txt
- run: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: aws-actions/setup-sam@v2
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_ARN }}
role-to-assume: ${{ secrets.AWS_OIDC_STAGING_ROLE_ARN }}
aws-region: eu-west-2
- run: sam build --use-container -m requirements/base.txt
- run: >
Expand Down

0 comments on commit 90e056a

Please sign in to comment.