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
AWS_DEFAULT_PROFILE seems not supported by profile resolver #7676
Comments
@dazza-codes can you clarify in more details what's exactly your setup, and what you expect to happen? Do you have e.g. |
Yes, exactly. export AWS_DEFAULT_PROFILE=foo
|
@dazza-codes is |
Closing as we didn't receive enough details to process this further. Also track #7605 as it might be related |
@medikoo - yes, the To work around the extra requirements to set a few more env-vars, I'm using a bash function to switch between profiles (there may be better options out there that I haven't found, but this seems to work OK when I have no https://gist.github.com/dazza-codes/fe65f3214c7f2f189a928bee2524062e |
@dazza-codes thanks for further details. I believe problem lies in this line:
As there we assume that default profile is PR with fix is welcome! |
I'd like to take this one. Seems relatively easy, change in the implementation should be small, I will focus on tests, though. Let me know. Thank you. |
@marekpiotrowski great to hear that! We look forward |
Pull request created: #8354 |
There is no
[default]
in the~/.aws/credentials
or~/.aws/config
, to set and change profiles, theAWS_DEFAULT_PROFILE
environment variable is used forawscli
. But something insls package
is defaulting back to adefault
profile?The text was updated successfully, but these errors were encountered: