Remove explicit region parameter from ec2_ami_find

pull/18777/head
Tom Bamford 9 years ago committed by Matt Clay
parent f6d6895ce9
commit 68f76c50d8

@ -293,8 +293,6 @@ def get_block_device_mapping(image):
def main(): def main():
argument_spec = ec2_argument_spec() argument_spec = ec2_argument_spec()
argument_spec.update(dict( argument_spec.update(dict(
region = dict(required=True,
aliases = ['aws_region', 'ec2_region']),
owner = dict(required=False, default=None), owner = dict(required=False, default=None),
ami_id = dict(required=False), ami_id = dict(required=False),
ami_tags = dict(required=False, type='dict', ami_tags = dict(required=False, type='dict',

Loading…
Cancel
Save