mitchellh / vagrant-aws

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

Feature request: generate a "vagrant" key-pair if none is specified #96

Open mdub opened 11 years ago

mdub commented 11 years ago

vagrant-aws requires a key-pair in order to get SSH access. If none is specified in the Vagrantfile, it could generate a new temporary key-pair, storing the private key in ".vagrant". It might be best to tear down such a key-pair on "vagrant destroy".

lukewpatterson commented 11 years ago

Dear vagrant-aws, please follow Packer's example of awesomeness.

The builder will create temporary keypairs, security group rules, etc. that provide it temporary access to the instance while the image is being created. This simplifies configuration quite a bit.