Skip to content

Commit

Permalink
feat: update aws role session duration (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsxu authored Feb 28, 2024
1 parent e6c85d4 commit 0683fc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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" {
Expand Down

0 comments on commit 0683fc6

Please sign in to comment.