Skip to content

Commit

Permalink
Change the default duration for assuming an AWS role from 90m to 60m …
Browse files Browse the repository at this point in the history
…since newly created IAM role's have a default max duration of 60m. (#1074)
  • Loading branch information
onkarbhat committed Aug 25, 2021
1 parent eac1149 commit d3b8b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const (
roleARNEnvKey = "AWS_ROLE_ARN"

// TODO: Make this configurable via `config`
AssumeRoleDurationDefault = 90 * time.Minute
AssumeRoleDurationDefault = 60 * time.Minute
AssumeRoleDuration = "assumeRoleDuration"
)

Expand Down

0 comments on commit d3b8b81

Please sign in to comment.