-
Notifications
You must be signed in to change notification settings - Fork 896
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
Add an additional_regions key for amazon EC2 #12965
Add an additional_regions key for amazon EC2 #12965
Conversation
@@ -99,6 +99,7 @@ | |||
:miq_namespace: management-infra | |||
:ems_amazon: | |||
:disabled_regions: [] | |||
:additional_regions: |
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.
I assume you'd want the default to be an empty Array versus nil.
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.
This would allow it to have the same format as ManageIQ::Providers::Amazon::Regions::REGIONS
so we could merge it without looping through the array, see https://github.com/ManageIQ/manageiq-providers-amazon/pull/89/files#diff-786c7b2d19b8663da84109af12cc8a96R75 and ManageIQ/manageiq-providers-amazon#89 (comment)
If you think it would be better as an array I can switch it to that
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.
Either an empty array or empty Hash... either way I feel like the default should not be nil.
d05630a
to
dc89321
Compare
Checked commit agrare@dc89321 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1 |
Dammit...I didn't see this was WIP and merged it. My tool didn't stop me :/ |
…regions [WIP] Add an additional_regions key for amazon EC2 (cherry picked from commit fc47fa7) https://bugzilla.redhat.com/show_bug.cgi?id=1434152
Euwe backport details:
|
Add an additional regions configuration key to add extra regions for Amazon.
https://bugzilla.redhat.com/show_bug.cgi?id=1389068