diff --git a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py index 1c790849cf..2c83e0d320 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py +++ b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py @@ -141,7 +141,7 @@ EXAMPLES = ''' # Search for the AMI tagged "project:website" - ec2_ami_find: owner: self - tags: + ami_tags: project: website no_result_action: fail register: ami_find