From 88f2ceadf9cbd01382e9dab29b733f6113ecd3ee Mon Sep 17 00:00:00 2001 From: Max Xu Date: Wed, 28 Feb 2024 15:46:41 +0800 Subject: [PATCH] feat: update aws role session duration --- modules/aws/main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/aws/main.tf b/modules/aws/main.tf index 8d3fe5a..5c4ce9e 100644 --- a/modules/aws/main.tf +++ b/modules/aws/main.tf @@ -188,6 +188,7 @@ resource "aws_iam_role" "bootstrap_role" { path = "/StreamNative/" permissions_boundary = aws_iam_policy.permission_boundary.arn tags = local.tag_set + max_session_duration = 43200 } resource "aws_iam_policy" "bootstrap_policy" { @@ -245,6 +246,7 @@ resource "aws_iam_role" "management_role" { path = "/StreamNative/" permissions_boundary = aws_iam_policy.permission_boundary.arn tags = local.tag_set + max_session_duration = 43200 } resource "aws_iam_role_policy_attachment" "management_role" {