Skip to content

Commit 304eea9

Browse files
fix: increase git role session time to 2 hrs (#1074)
Signed-off-by: Shubhranshu Mahapatra <shubhum@amazon.com>
1 parent 94d09a7 commit 304eea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/continuous-integration-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class ContinuousIntegrationStack extends cdk.Stack {
2828
assumedBy: new iam.WebIdentityPrincipal(ghProvider.openIdConnectProviderArn),
2929
roleName: 'GithubActionsRole',
3030
description: 'This role is used by GitHub Actions',
31-
maxSessionDuration: cdk.Duration.hours(1)
31+
maxSessionDuration: cdk.Duration.hours(2)
3232
});
3333
githubActionsRole.addToPolicy(
3434
new iam.PolicyStatement({

0 commit comments

Comments
 (0)