mitchellh / vagrant-aws

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

Private IPs not assigned to VPCs #440

Open jayunit100 opened 8 years ago

jayunit100 commented 8 years ago

I'm using a VPC and attempting to assign a private IP inside of it.

    aws.subnet_id="subnet-1234"
    aws.keypair_name = "blah"
    aws.private_ip_address = "17x.18.13.200"

I always get my aws box assigned to the exact same ip address, no matter what private_ip_address we use.

I assume that there are situations where AWS settings might prevent you from making up IPs, or else, it ignores "bad IPs" if you give it an IP outside of the subnet range.