diff --git a/lib/ansible/modules/cloud/amazon/ec2_ami.py b/lib/ansible/modules/cloud/amazon/ec2_ami.py index c29e7f2eecf..8f2047a0ec3 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_ami.py +++ b/lib/ansible/modules/cloud/amazon/ec2_ami.py @@ -677,7 +677,6 @@ def main(): argument_spec=argument_spec, required_if=[ ['state', 'absent', ['image_id']], - ['state', 'present', ['name']], ] )