mitchellh/vagrant-aws

Unable to assign aws.security_groups in windows version of VAGRANT

mattplindsay opened this issue · 1 comments

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

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