mitchellh / vagrant-aws

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

action/run_instance.rb:98: warning: duplicated key at line 100 ignored: :associate_public_ip #466

Open kenorb opened 8 years ago

kenorb commented 8 years ago

I've got the following warning:

~/.vagrant.d/gems/gems/vagrant-aws-0.7.0/lib/vagrant-aws/action/run_instance.rb:98: warning: duplicated key at line 100 ignored: :associate_public_ip

I'm running:

$ KEYPAIR_NAME=Tester PRIVATE_KEY=$HOME/.ssh/id_rsa vagrant up --provider=aws 
Bringing machine 'mt-aws' up with 'aws' provider...
~/.vagrant.d/gems/gems/vagrant-aws-0.7.0/lib/vagrant-aws/action/run_instance.rb:98: warning: duplicated key at line 100 ignored: :associate_public_ip
==> mt-aws: Warning! The AWS provider doesn't support any of the Vagrant
==> mt-aws: high-level network configurations (`config.vm.network`). They
==> mt-aws: will be silently ignored.
==> mt-aws: Launching an instance with the following settings...
==> mt-aws:  -- Type: m3.medium

Line:

:associate_public_ip       => associate_public_ip,

Is it issue in run_instance.rb, or my misconfiguration?

spkane commented 8 years ago

I see the same thing with Vagrant 1.8.4 and vagrant-aws 0.7.0.

/Users/skane/.vagrant.d/gems/gems/vagrant-aws-0.7.0/lib/vagrant-aws/action/run_instance.rb:98: warning: duplicated key at line 100 ignored: :associate_public_ip

I am pretty confident that this is not a configuration problem, but have not dug into the code yet, since it appears harmless for my needs.