InvalidParameterValue => Value () for parameter groupId is invalid. The value cannot be empty



  • $ vagrant up --provider=aws
    Bringing machine 'default' up with 'aws' provider...
    ==> default: Warning! The AWS provider doesn't support any of the Vagrant
    ==> default: high-level network configurations (`config.vm.network`). They
    ==> default: will be silently ignored.
    ==> default: Launching an instance with the following settings...
    ==> default:  -- Type: t2.micro
    ==> default:  -- AMI: ami-53ba502b
    ==> default:  -- Region: us-west-2
    ==> default:  -- Keypair: Demokey
    ==> default:  -- Security Groups: ["sg-e569a0bc"]
    ==> default:  -- Block Device Mapping: []
    ==> default:  -- Terminate On Shutdown: false
    ==> default:  -- Monitoring: false
    ==> default:  -- EBS optimized: false
    ==> default:  -- Source Destination check: 
    ==> default:  -- Assigning a public IP address in a VPC: false
    ==> default:  -- VPC tenancy specification: default
    ==> default: Warning! Vagrant might not be able to SSH into the instance.
    ==> default: Please check your security groups settings.
    There was an error talking to AWS. The error message is shown
    below:
    
    InvalidParameterValue => Value () for parameter groupId is invalid. The value cannot be empty
    

    The issue here is the aws.security_groups = "sg-e569a0bc", this required the name of the security group not the security group id. Changing this parameter to default worked.


Log in to reply
 

© Lightnetics 2024