Skip to content

Commit e8c54b9

Browse files
fix: increase timeout for aws creds for signing (#1689)
Signed-off-by: Shubhranshu Mahapatra <shubhum@amazon.com>
1 parent 5e0bbf2 commit e8c54b9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build-pkg.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ jobs:
7373
role-to-assume: ${{ secrets.ROLE }}
7474
role-session-name: dependency-upload-session
7575
aws-region: ${{ secrets.REGION }}
76+
# The default OIDC token duration is 1 hour (3600s). The "generate pkg" step
77+
# can take over 1 hour when the external code signing service is slow,
78+
# causing AWS CLI calls to fail with expired credentials.
79+
# Setting to 2 hours (7200s) to provide sufficient buffer.
80+
role-duration-seconds: 7200
7681

7782
- id: final
7883
name: generate pkg

0 commit comments

Comments
 (0)