-
-
Notifications
You must be signed in to change notification settings - Fork 960
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_PROFILE variable for aws named profiles #522
Use AWS_PROFILE variable for aws named profiles #522
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @RolfKoenders for the PR 👍
I don't use AWS, But is there any cases where removing AWS_DEFAULT_PROFILE
misses valid configurations from prompt ?
It would be better if this change was documented under AWS section.
Since the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like AWS_PROFILE
is the recommended solution with backward support for AWS_DEFAULT_PROFILE
. Since the changes was introduced more than a year ago in aws-cli
, It shouldn't be a problem.
@salmanulfarzy Thanks for updating the documentation! 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good 👍 But we need review from someone who use the section regularly.
Maybe @cdimitroulas or @robertomoreno can help us out here. ping 😉 |
I've been using spaceship with the exact same code change as this PR for a long time and it works great (I know I know... super guilty that I didn't make the PR myself!) From my perspective this is good to be merged |
Merged, Thank you @RolfKoenders @cdimitroulas 👏 |
Description
Refactor the AWS section to use the correct environment variable that the (new) AWS cli uses. Its using named profiles.
Fixes #259