diff --git a/lib/ansible/modules/cloud/amazon/ec2.py b/lib/ansible/modules/cloud/amazon/ec2.py index 45a81e0cd74..a1da2795a54 100644 --- a/lib/ansible/modules/cloud/amazon/ec2.py +++ b/lib/ansible/modules/cloud/amazon/ec2.py @@ -29,7 +29,8 @@ version_added: "0.9" options: key_name: description: - - Key pair to use on the instance. + - key pair to use on the instance. The SSH key must exist on AWS in order to use this argument. If you want to generate keys from Ansible, + take a look at `ec2_key` module. aliases: ['keypair'] type: str id: