Skip to content

Commit 889db7f

Browse files
committed
Set arn variable
1 parent 676796e commit 889db7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ concurrency:
88
cancel-in-progress: true
99

1010
env:
11-
IAM_ROLE_ARN: 'arn:aws:iam::821054153986:role/AwsSdkJavaV2GitHubRole'
1211
DOWNLOAD_FOLDER: '.build-scripts/'
1312
SCRIPT_LOCATION: 'workflows/start-pull-request-build/pull-request-build-v1.sh'
1413

@@ -25,7 +24,7 @@ jobs:
2524
- name: Configure AWS Credentials
2625
uses: aws-actions/configure-aws-credentials@v4
2726
with:
28-
role-to-assume: ${{ env.IAM_ROLE_ARN }}
27+
role-to-assume: ${{secrets.PR_WORKFLOW_IAM_ROLE_ARN}}
2928
role-session-name: PullRequestBuildGitHubAction
3029
aws-region: us-west-2
3130
role-duration-seconds: 7200 # 2 hours

0 commit comments

Comments
 (0)