mitchellh/vagrant-aws

You must specify an association id when unmapping an address from a VPC instance

gdepaepe opened this issue · 0 comments

I am running vagrant 2.0.3 on Ubuntu 16.04 and vagrant-aws 0.7.2

I can vagrant up and vagrant halt without any problems for deploying to AWS. When I try "vagrant destroy", I get the following error:

expects.rb:7:in `response_call': InvalidParameterValue => You must specify an association id when unmapping an address from a VPC instance (Fog::Compute::AWS::Error)

Vagrantfile:

config.vm.define "aws", autostart: false do |aws|
aws.vm.box = "dummy"
aws.vm.provider "aws" do |a, override|
# access keys in .aws/credentials, default region in .aws/config
a.region = "us-east-1"
a.ami = "ami-346b9c49"
a.instance_type= "t1.micro"
a.security_groups = ["default"]
a.tags = {
"Name" => "vagrant-aws"
}
a.elastic_ip = true
a.keypair_name = "geert"
override.ssh.private_key_path = ".ssh/test.pem"
override.ssh.username = "ubuntu"
end
aws.vm.hostname = "vagrant-aws"
end