Skip to content

Commit 778ccfe

Browse files
Add config option for AWS S3 read only credential duration (#4192)
1 parent ae41355 commit 778ccfe

File tree

1 file changed

+5
-0
lines changed
  • .github/actions/c-chain-reexecution-benchmark

1 file changed

+5
-0
lines changed

.github/actions/c-chain-reexecution-benchmark/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ inputs:
2020
aws-region:
2121
description: 'AWS region to use for S3 access.'
2222
required: true
23+
aws-role-duration-seconds:
24+
description: 'The duration of the AWS role to assume for S3 access.'
25+
required: true
26+
default: '43200' # 12 hours
2327
prometheus-username:
2428
description: 'The username for the Prometheus instance.'
2529
required: true
@@ -67,6 +71,7 @@ runs:
6771
with:
6872
role-to-assume: ${{ inputs.aws-role }}
6973
aws-region: ${{ inputs.aws-region }}
74+
role-duration-seconds: ${{ inputs.aws-role-duration-seconds }}
7075
- name: Run C-Chain Re-Execution
7176
uses: ./.github/actions/run-monitored-tmpnet-cmd
7277
with:

0 commit comments

Comments
 (0)