(copy-paste from https://github.com/ansible/ansible/issues/5579)
Subj.
As I can see in code, this module uses boto function run_instance(), and in this function parameter “key_name” is not required for creating new instance.
In my case, I already have my own ami with pre-configured ssh key inside it and I don’t want change it or add new one when launching new instance.
Maybe parameter “key_name” in module ec2 should be optional? Or how I can avoid this requirements?