-
Notifications
You must be signed in to change notification settings - Fork 202
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 support for tenancy parameter in placement config. #235
Conversation
…t and dedicated values accepted
Hi @tyler-ball do you need anything else from my side to improve this PR in order to be merged? Kind regards |
Could you please help me to merge this PR? Regards |
Hi, can we have this merged? |
👍 |
@@ -79,6 +79,7 @@ class Ec2 < Kitchen::Driver::Base # rubocop:disable Metrics/ClassLength | |||
default_config :interface, nil | |||
default_config :http_proxy, ENV["HTTPS_PROXY"] || ENV["HTTP_PROXY"] | |||
default_config :retry_limit, 3 | |||
default_config :tenancy, "dedicated" |
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.
Not sure if this is the real default value when tenancy is not specified. I guess that by default should be "default". Guess not everybody wants to use dedicated instances.
Since two weeks ago, faraday-http-cache 2.0.0 was released but it does not support ruby 2.0.0 anymore (see https://github.com/plataformatec/faraday-http-cache/blob/master/CHANGELOG.md). Using latest 1.3 version.
Hi, I just merged from master. Could we have this merged? |
Only "default" and "dedicated" values are accepted. If you think is worthy to have also "host" value (http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/dedicated-instance.html#dedicated-howitworks) but being honest I've never seen that value in an instance config. This parameter works in pair with availability zone to define the placement attribute.