Skip to content

Commit a38912b

Browse files
authored
Merge pull request #3 from gridai/role-session-duration
Set maxSessionDuration to 12h
2 parents b146b68 + 12385ec commit a38912b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ resource "aws_iam_policy" "this" {
2828

2929
resource "aws_iam_role" "this" {
3030
name_prefix = "grid-cloud"
31+
max_session_duration = 12 * 3600
3132
assume_role_policy = jsonencode({
3233
Statement = flatten([
3334
[{

0 commit comments

Comments
 (0)