mitchellh / vagrant-aws

Use Vagrant to manage your EC2 and VPC instances.
MIT License
2.61k stars 573 forks source link

incorrect error message when PV image is used with HVM #387

Closed timurb closed 9 years ago

timurb commented 9 years ago

When I specify PV image in Vagrantfile and use instance size which can only be used with HVM images (like c4.large) the Vagrant produces the following error:

VPCResourceNotSpecified => The specified instance type can only be used in a VPC. A subnet ID or network interface ID is required to carry out the request.

When I specify the HVM image in Vagrantfile with no other changes changes in it the instance looks to be created fine.

$ vagrant --version
Vagrant 1.7.2
$ vagrant plugin list | grep aws
vagrant-aws (0.6.0)
timurb commented 9 years ago

Sorry, I was wrong. C4 family works only inside VPC. Please ignore the ticket.