mitchellh / vagrant-aws

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

Unable to assign aws.security_groups in windows version of VAGRANT #458

Closed mattplindsay closed 8 years ago

mattplindsay commented 8 years ago

I get the following error when creating an instance from an AMI and trying to assign a security group to it:

InvalidParameterValue => Value () for parameter groupId is invalid. The value cannot be empty> ERROR vagrant: There was an error talking to AWS. The error message is shown below:...

The VANGRANT entry I'm using is: aws.security_groups = ["sg-e736c080"]

I have tried the following combinations without success: 1) Using the Security Group Name 2) Using the Security Group Description 3) Using single quotes

I am using Vagrant AWS plugin on windows. If I remove the aws.security_groups line, the vagrant file works

mattplindsay commented 8 years ago

Sorry - my mistake. This was because the security group wasn't for the correct vpc-id. Fixed this.