From 88c4271d3a43f6c564d4ed8c9fc3e8a71cc94f1a Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Wed, 23 Oct 2024 14:05:09 -0400 Subject: [PATCH] Go back to using management account for StackSets Now that less will be running in it let's go back to this being the main point for StackSets --- .github/workflows/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 4ab3ba9..0ccb408 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -164,7 +164,7 @@ jobs: id: deploy-account-credentials uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: arn:aws:iam::156041432316:role/GitHubActionsCfnDeployRole + role-to-assume: arn:aws:iam::349603509961: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 @@ -223,7 +223,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::156041432316:role/CfnExecIamRole \ + --role-arn arn:aws:iam::349603509961:role/CfnExecIamRole \ --on-failure DELETE \ $AWS_CFN_PARAMS \ $AWS_CFN_TAGS @@ -280,7 +280,7 @@ jobs: id: deploy-account-credentials uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: arn:aws:iam::156041432316:role/GitHubActionsCfnDeployRole + role-to-assume: arn:aws:iam::349603509961: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 @@ -339,7 +339,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::156041432316:role/CfnExecIamRole \ + --role-arn arn:aws:iam::349603509961:role/CfnExecIamRole \ --on-failure DELETE \ $AWS_CFN_PARAMS \ $AWS_CFN_TAGS