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

Adding name param for cli profile name #23

Merged
merged 7 commits into from
May 27, 2016

Conversation

jgnagy
Copy link
Contributor

@jgnagy jgnagy commented Mar 8, 2016

This is in reference to issue #22 and allows users to specify an AWS profile name as a param. This is a potentially breaking change though, for users that expect $title to do what $profile_name now does. I looked through your tests and I believe that this will still pass all of them as you didn't appear to be checking for the profile name itself anywhere. If I'm wrong, I'm assuming your CI will pick it up.

jgnagy and others added 7 commits March 8, 2016 10:14
$name defaults to the sane 'default'.
$title is now effectively ignored, other than its use in other titles.
Added conditional logic to support the profile naming convention within config, as defined by:
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-multiple-profiles
Updated config_concat.erb to support profile naming convention
@jdowning
Copy link
Owner

Great work @jgnagy! Can you add some coverage for the awscli::profile changes to the specs too?

@jgnagy
Copy link
Contributor Author

jgnagy commented May 26, 2016

I haven't had time to work on the rspec changes, but I welcome help if anyone is interested.

@jdowning jdowning merged commit 5b12ae2 into jdowning:master May 27, 2016
@jdowning
Copy link
Owner

@jgnagy I like this addition. I'll see if I can just do the specs myself 🔜. Thanks!

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.

None yet

3 participants