envato / ami-spec

Acceptance testing your AMIs
MIT License
49 stars 15 forks source link

Generate temporary key pairs in AWS #42

Closed orien closed 5 years ago

orien commented 5 years ago

It can be rather cumbersome to configure AWS key pairs. You have to add them in AWS and then ensure they're installed on CI servers and/or available to developers.

Instead of all that manual work, let's get AMI Spec to do it for us!

I propose that if a key name isn't provided via the command line, then a temporary key pair is generated in AWS and used for the duration of the testing. Afterward a best effort is given to delete the key pair.