Skip to content

Commit 4a033ac

Browse files
committed
hardcode IAM role
1 parent ce98477 commit 4a033ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pull-request-build.yaml.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ concurrency:
1010

1111
env:
1212
# constants
13+
IAM_ROLE_ARN: 'arn:aws:iam::246442084943:role/AwsSdkCppGitHubRole'
1314
DOWNLOAD_FOLDER: '.build-scripts/'
1415
SCRIPT_LOCATION: 'workflows/start-pull-request-build/pull-request-build-v1.sh'
1516

1617
# custom variables
17-
IAM_ROLE_ARN: 'AwsSdkCppGitHubRole'
1818
ROLE_SESSION_DURATION_SECONDS: 7200
1919

2020
jobs:
@@ -30,7 +30,7 @@ jobs:
3030
- name: Configure AWS Credentials
3131
uses: aws-actions/configure-aws-credentials@main
3232
with:
33-
role-to-assume: '$IAM_ROLE_ARN'
33+
role-to-assume: ${{ env.IAM_ROLE_ARN }}
3434
role-session-name: PullRequestBuildGitHubAction
3535
role-duration-seconds: '$ROLE_SESSION_DURATION_SECONDS'
3636
aws-region: us-west-2

0 commit comments

Comments
 (0)