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

use AWS_CONFIG_FILE if defined #80

Open
gumieri opened this issue Jul 16, 2024 · 1 comment
Open

use AWS_CONFIG_FILE if defined #80

gumieri opened this issue Jul 16, 2024 · 1 comment

Comments

@gumieri
Copy link

gumieri commented Jul 16, 2024

The option --set-ini assume the ~/.aws/config aws the only possible location for the config file, but there's a environment variable to change it: https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-envvars.html#envvars-list (AWS_CONFIG_FILE).

Some people (like me) may use this to place the AWS config based on the standard "XDG Base Directory" (~/.config/). By ex.: AWS_CONFIG_FILE=$HOME/.config/aws/config.

iann0036 added a commit that referenced this issue Jul 17, 2024
@iann0036
Copy link
Owner

Hey @gumieri,

Thanks for raising! I've added the code to respect the environment override if defined. It'll be in v1.1.10 or on main.

Let me know if you have any issues with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants