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
A confusing aspect of working with the Terraform S3 Backend and Terraform AWS Provider is that the underlying AWS Go SDK v1 does not automatically enable the shared configuration file (e.g. ~/.aws/config) by default like the AWS CLI and other SDKs. Enabling it requires a lesser documented environment variable: AWS_SDK_LOAD_CONFIG=1 as a workaround. While we are introducing potentially breaking changes, we will enable this support by default to reduce confusion.
Community Note
Description
A confusing aspect of working with the Terraform S3 Backend and Terraform AWS Provider is that the underlying AWS Go SDK v1 does not automatically enable the shared configuration file (e.g.
~/.aws/config
) by default like the AWS CLI and other SDKs. Enabling it requires a lesser documented environment variable:AWS_SDK_LOAD_CONFIG=1
as a workaround. While we are introducing potentially breaking changes, we will enable this support by default to reduce confusion.Potential Library Implementation
In all relevant places:
Potential Terraform Backend/Provider Configuration
References
credential_process
w/out ENV variable terraform#22161The text was updated successfully, but these errors were encountered: