Skip to content

Commit

Permalink
Merge pull request #3 from gridai/role-session-duration
Browse files Browse the repository at this point in the history
Set maxSessionDuration to 12h
  • Loading branch information
nmiculinic authored Oct 18, 2021
2 parents b146b68 + 12385ec commit a38912b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ resource "aws_iam_policy" "this" {

resource "aws_iam_role" "this" {
name_prefix = "grid-cloud"
max_session_duration = 12 * 3600
assume_role_policy = jsonencode({
Statement = flatten([
[{
Expand Down

0 comments on commit a38912b

Please sign in to comment.