Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring CLI/API session durations on aws_iam_role #3969

Closed
devonbleak opened this issue Mar 29, 2018 · 2 comments
Closed
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/iam Issues and PRs that pertain to the iam service.
Milestone

Comments

@devonbleak
Copy link
Contributor

AWS has recently added a setting for specifying the maximum session duration of API/CLI credentials for a role:

Terraform Version

All versions.

Affected Resource(s)

Please list the resources as a list, for example:

  • aws_iam_role

Terraform Configuration Files

Recommend adding max_session_duration property to aws_iam_role

resource "aws_iam_role" "role" {
  name = "role"
  max_session_duration = 43200
  assume_role_policy = <<EOF
    ...
EOF
}

Expected Behavior

Role ends up with its max session duration as specified in code

Actual Behavior

Property is not supported.

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/iam Issues and PRs that pertain to the iam service. labels Mar 29, 2018
@bflad bflad added this to the v1.14.0 milestone Apr 6, 2018
@bflad
Copy link
Contributor

bflad commented Apr 6, 2018

This has been released in version 1.14.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

@bflad bflad closed this as completed Apr 6, 2018
@ghost
Copy link

ghost commented Apr 6, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/iam Issues and PRs that pertain to the iam service.
Projects
None yet
Development

No branches or pull requests

2 participants