Skip to content

Commit

Permalink
gotta update deployment account in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Oct 23, 2024
1 parent 4ffb2d3 commit a6e2962
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ jobs:
id: deploy-account-credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::481665128499:role/GitHubActionsCfnDeployRole
role-to-assume: arn:aws:iam::156041432316:role/GitHubActionsCfnDeployRole
role-session-name: ${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG_URL }}-${{ github.run_number }}-${{ github.job }}
role-duration-seconds: 3600 # 60 minutes; needs to be less than our current max duration
aws-region: us-east-1
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
--s3-bucket aws-sam-cli-sourcebucket-346402060170-us-east-1 \
--s3-prefix ${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG_URL }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG_URL }}/${{ env.GITHUB_REF_SLUG_URL }} \
--region us-east-1 \
--role-arn arn:aws:iam::481665128499:role/CfnExecIamRole \
--role-arn arn:aws:iam::156041432316:role/CfnExecIamRole \
--on-failure DELETE \
$AWS_CFN_PARAMS \
$AWS_CFN_TAGS

0 comments on commit a6e2962

Please sign in to comment.