We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2dfe72a + 48d8a8c commit dc66cb8Copy full SHA for dc66cb8
1 file changed
.github/workflows/scenario-ci.yml
@@ -101,7 +101,12 @@ jobs:
101
role-to-assume: arn:aws:iam::${{ steps.lease.outputs.account_id }}:role/InnovationSandbox-ndx-CIDeployRole
102
role-session-name: scenario-ci-deploy-${{ github.run_id }}
103
aws-region: us-east-1
104
- role-duration-seconds: 21600
+ # Chained assumes (sigv4 from already-assumed creds) are capped
105
+ # at 1h by AWS regardless of MaxSessionDuration on the target
106
+ # role. Asking for more returns ValidationError. Workflow job
107
+ # timeout is 90m so any deploy needing >1h would already need
108
+ # other plumbing.
109
+ role-duration-seconds: 3600
110
role-chaining: true
111
# The default session-tag attempt requires sts:TagSession in the
112
# target role's trust policy, which CIDeployRole doesn't grant.
0 commit comments