Skip to content

Default to 'default' profile, in line with other AWS tools.#14

Merged
venth merged 1 commit intoventh:masterfrom
brandond:use-default-profile
Nov 5, 2016
Merged

Default to 'default' profile, in line with other AWS tools.#14
venth merged 1 commit intoventh:masterfrom
brandond:use-default-profile

Conversation

@brandond
Copy link
Contributor

@brandond brandond commented Oct 6, 2016

This might be a breaking change for some folks, but I think it's important to work the same as other AWS CLI tools that all work with the 'default' profile if the --profile option or AWS_DEFAULT_PROFILE environment variable are not set.

This change also makes it honor the AWS_DEFAULT_PROFILE environment variable, which it does not currently do.

@brandond
Copy link
Contributor Author

brandond commented Oct 7, 2016

Actually, let me take a longer look at this. I think I can probably replace a lot of the current _load_adfs_config_from_stored_profile functionality with stuff already provided by botocore.session

@venth
Copy link
Owner

venth commented Oct 7, 2016

I'm OK with the change. It makes sense to stick to aws cli behavior. I'll be little unresponsive. I've caught sinusitis.

@brandond
Copy link
Contributor Author

brandond commented Oct 8, 2016

Ahh that sucks, hope you feel better soon :( I'll comment again when I have something ready for review.

@venth
Copy link
Owner

venth commented Oct 9, 2016

OK

@venth
Copy link
Owner

venth commented Oct 29, 2016

Hi @brandond, do you want me to merge this request?

This might be a breaking change for some folks, but I think it's important
to work the same as other AWS CLI tools that all work with the 'default'
profile if the --profile option or AWS_DEFAULT_PROFILE environment variable
are not set.
@brandond
Copy link
Contributor Author

brandond commented Nov 1, 2016

@venth go ahead and take it as-is; I still might take a shot at centralizing the config load/store stuff into one place, but I don't have the time for it at the moment. I'll open a new PR when I do.

@venth venth merged commit 52bae1c into venth:master Nov 5, 2016
@venth
Copy link
Owner

venth commented Nov 5, 2016

merged

@brandond brandond deleted the use-default-profile branch November 8, 2016 00:16
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

Successfully merging this pull request may close these issues.

2 participants