diff --git a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py index 73c9f29d32c..47f265ad912 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py +++ b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py @@ -299,7 +299,7 @@ def main(): aliases = ['search_tags', 'image_tags']), architecture = dict(required=False), hypervisor = dict(required=False), - is_public = dict(required=False), + is_public = dict(required=False, type='bool'), name = dict(required=False), platform = dict(required=False), sort = dict(required=False, default=None,