Skip to content

Commit

Permalink
setup role for test deployment as well
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh890 committed Jul 9, 2024
1 parent 0806c99 commit 88c319f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/search-ui-deploy-composite/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
- name: Configure AWS credentials from Test account
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: arn:aws:iam::${{ inputs.aws-account-id }}:role/GitHub_Actions_Role
role-to-assume: arn:aws:iam::${{ inputs.aws-account-id }}:role/GitHub_Actions_Role_SearchUI_${{ inputs.maturity }}
aws-region: us-east-1

- name: Fetch the caller identity
Expand Down
2 changes: 1 addition & 1 deletion build/github-actions-oidc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Resources:
GitHubActionsRole:
Type: AWS::IAM::Role
Properties:
RoleName: GitHub_Actions_Role
RoleName: GitHub_Actions_Role_SearchUI_test
AssumeRolePolicyDocument:
Version: 2012-10-17
Statement:
Expand Down

0 comments on commit 88c319f

Please sign in to comment.