Skip to content

Commit 12385ec

Browse files
committed
Set maxSessionDuration
1 parent b146b68 commit 12385ec

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)