You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
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
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
In the future we may wish to allow region configuration via the AWS shared configuration file (e.g. ~/.aws/config), instead of requiring it via Terraform configuration or environment variables. There may be a few minor adjustments that need to happen to remove direct references to Config.Region, but otherwise the unit testing for GetSession() can theoretically be used to determine this support.
There are caveats to this support though as it can be potentially ambiguous across Terraform executors with varying AWS environment setups, so in the end we may not accept downstream implementations to make the configuration optional.
Community Note
Description
In the future we may wish to allow region configuration via the AWS shared configuration file (e.g.
~/.aws/config
), instead of requiring it via Terraform configuration or environment variables. There may be a few minor adjustments that need to happen to remove direct references toConfig.Region
, but otherwise the unit testing forGetSession()
can theoretically be used to determine this support.There are caveats to this support though as it can be potentially ambiguous across Terraform executors with varying AWS environment setups, so in the end we may not accept downstream implementations to make the configuration optional.
Potential Library Implementation
// Updates to TestGetSession()
Potential Terraform Backend/Provider Configuration
References
The text was updated successfully, but these errors were encountered: