Skip to content

Commit

Permalink
Use separate IAM role for the bench CI (awslabs#883)
Browse files Browse the repository at this point in the history
Signed-off-by: Monthon Klongklaew <[email protected]>
  • Loading branch information
monthonk authored May 22, 2024
1 parent e608ce2 commit e6a01e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ACTIONS_IAM_ROLE }}
aws-region: ${{ vars.S3_REGION }}
role-to-assume: ${{ vars.ACTIONS_BENCH_IAM_ROLE }}
aws-region: ${{ vars.S3_BENCH_REGION }}
role-duration-seconds: 21600
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -79,8 +79,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ACTIONS_IAM_ROLE }}
aws-region: ${{ vars.S3_REGION }}
role-to-assume: ${{ vars.ACTIONS_BENCH_IAM_ROLE }}
aws-region: ${{ vars.S3_BENCH_REGION }}
role-duration-seconds: 21600
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -125,8 +125,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ACTIONS_IAM_ROLE }}
aws-region: ${{ vars.S3_REGION }}
role-to-assume: ${{ vars.ACTIONS_BENCH_IAM_ROLE }}
aws-region: ${{ vars.S3_BENCH_REGION }}
role-duration-seconds: 21600
- name: Checkout code
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/bench_s3express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ACTIONS_IAM_ROLE }}
aws-region: ${{ vars.S3_REGION }}
role-to-assume: ${{ vars.ACTIONS_BENCH_IAM_ROLE }}
aws-region: ${{ vars.S3_BENCH_REGION }}
role-duration-seconds: 21600
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -80,8 +80,8 @@ jobs:
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ACTIONS_IAM_ROLE }}
aws-region: ${{ vars.S3_REGION }}
role-to-assume: ${{ vars.ACTIONS_BENCH_IAM_ROLE }}
aws-region: ${{ vars.S3_BENCH_REGION }}
role-duration-seconds: 21600
- name: Checkout code
uses: actions/checkout@v4
Expand Down

0 comments on commit e6a01e1

Please sign in to comment.