From 0683fc6a89661894b27b8929ae1a4f1e058df50e Mon Sep 17 00:00:00 2001 From: Max Xu Date: Wed, 28 Feb 2024 18:07:46 +0800 Subject: [PATCH] feat: update aws role session duration (#71) --- 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" {