-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
shared_credential_files in v4 broken? #23207
Comments
Hi @ericb-summit, in previous versions, this accidentally worked, since it was falling back to the default shared credentials file when it couldn't find the requested file. Expanding the environment variables is a good idea, though, so I've added it in hashicorp/aws-sdk-go-base#118. I also discovered we were no longer expanding |
@gdavison
after set pull path for "shared_credentials_files" problem not exists |
This functionality has been released in v4.2.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
As a follow-up to #23110, it seems to me
shared_credential_files
doesn't work in v4 as I think it should. I don't use env vars, I only use the likes of:works for v3, which updates to this for v4:
With the
shared_credentials_files
specified as above, authentication fails. If I remove it, so that it defaults to the exact same value I explicitly specified, then it magically works. So other mysterious things changed in v4 authentication. I quote the latest docs that tell me it should workMaybe $HOME expansion doesn't work in v4. Which is not a terrible limitation, except that it used to work in v3.
If you've somehow addressed this behaviour in some sneaky part of the docs that I missed I apologize, because I didn't see it.
The text was updated successfully, but these errors were encountered: