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

Shared credentials and configuration files paths are not expanded #117

Closed
gdavison opened this issue Feb 15, 2022 · 1 comment · Fixed by #118
Closed

Shared credentials and configuration files paths are not expanded #117

gdavison opened this issue Feb 15, 2022 · 1 comment · Fixed by #118
Labels
bug Something isn't working enhancement New feature or request

Comments

@gdavison
Copy link
Contributor

gdavison commented Feb 15, 2022

Shared credentials and configuration files paths are not expanded.

In v1, "$HOME/.aws/credentials" would be correctly resolved. In v2, it no longer does.

Relates hashicorp/terraform-provider-aws#23207

@gdavison
Copy link
Contributor Author

gdavison commented Feb 16, 2022

This accidentally worked for the default credentials file, because there was a fallback to the default credentials file if the specified credentials file was not found.

However, expanding environment variables in file paths is a good idea.

Is missing ~ expansion in file paths.

@gdavison gdavison added enhancement New feature or request bug Something isn't working labels Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant