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

Fix issue with network interfaces #1874

Merged
merged 1 commit into from
Mar 25, 2016
Merged

Conversation

kyleknap
Copy link
Contributor

There were some customizations for ec2 run instances that used the NetworkInterfaces parameter but did not lower some of the legacy parameters to the NetworkInterfaces param causing server side validation errors.

If you do not do this, you get errors like this:

ClientError: A client error (InvalidParameterCombination) occurred when calling the RunInstances operation: Network interfaces and an instance-level subnet ID may not be specified on the same request

There is even a note about this: https://github.com/aws/aws-cli/blob/develop/awscli/customizations/ec2runinstances.py#L83 so it looks like these parameters just got missed because it now works for me.

cc @jamesls @JordonPhillips

There were some customizations for ec2 run instances that used the NetworkInterfaces parameter but did not lower some of the legacy parameters to the NetworkInterfaces param causing server side validation errors.
@kyleknap
Copy link
Contributor Author

Fixes #613 as well

@JordonPhillips
Copy link
Member

@jamesls
Copy link
Member

jamesls commented Mar 25, 2016

:shipit:

@kyleknap kyleknap merged commit ac0c4f4 into aws:develop Mar 25, 2016
@kyleknap kyleknap deleted the network-int branch March 25, 2016 17:02
thoward-godaddy pushed a commit to thoward-godaddy/aws-cli that referenced this pull request Feb 12, 2022
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