When the AWS SDK permits it, please add the ability for users of Terraform and the AWS provider to be able to use a AWS_ROLE_SESSION_NAME environment variable to supply a Session Name instead of having to use the session_name argument in assume_role blocks that are within aws provider blocks.
Per the AWS docs, they would need to add the ability of configuring this environment variable first within the SDK for Terraform to take advantage of, but i'm still creating this FR so that a count can be collected for the amount of other folks that would desire this to be made available.
Affected Resource(s) and/or Data Source(s)
the assume_role block within the aws provider block
Potential Terraform Configuration
Configuring an `AWS_ROLE_SESSION_NAME` environment variable within the run environment of Terraform.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Description
When the AWS SDK permits it, please add the ability for users of Terraform and the AWS provider to be able to use a
AWS_ROLE_SESSION_NAME
environment variable to supply a Session Name instead of having to use thesession_name
argument inassume_role
blocks that are withinaws
provider blocks.Per the AWS docs, they would need to add the ability of configuring this environment variable first within the SDK for Terraform to take advantage of, but i'm still creating this FR so that a count can be collected for the amount of other folks that would desire this to be made available.
Affected Resource(s) and/or Data Source(s)
assume_role
block within theaws
provider blockPotential Terraform Configuration
References
AWS provider doc:
Would you like to implement a fix?
None