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

Enable AWS spot requests in a VPC by specifying subnet_id #1115

Merged
merged 1 commit into from Aug 27, 2012

Conversation

turley
Copy link

@turley turley commented Aug 24, 2012

Adding the "subnet_id" attribute for spot requests so they can be created in a VPC.

@travisbot
Copy link

This pull request passes (merged a0acfec into d1fbbe6).

'Type' => request_type,
'ValidFrom' => valid_from,
'ValidUntil' => valid_until }
options.delete_if {|key, value| value.nil?}

# If subnet is defined then this is a Virtual Private Cloud.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless I'm mistaken, I don't think this mutual exclusion is still required. See: #786 Please let me know if that is not accurate in this case, but we should allow both if it does work.

@geemus
Copy link
Member

geemus commented Aug 27, 2012

@turley Other than that one spot it looks great, thanks!

@turley
Copy link
Author

turley commented Aug 27, 2012

@geemus I believe that pull request (#786) was never merged because indeed, the mutual exclusion IS required. You can, however, use security_group_ids and subnet_id without any problem.

FWIW, I actually did try this without the check and got a response basically explaining that the two can't both be set.

@geemus
Copy link
Member

geemus commented Aug 27, 2012

@turley well played, my brain betrays me again. I knew there was that ticket but I guess I forgot the outcome, thanks for helping me out with that.

geemus added a commit that referenced this pull request Aug 27, 2012
Enable AWS spot requests in a VPC by specifying subnet_id
@geemus geemus merged commit 646f754 into fog:master Aug 27, 2012
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