Fixes route53_facts to use max_items parameter with record_sets query.

This commit is contained in:
Gabriel Burkholder 2016-02-24 16:14:42 -08:00 committed by Matt Clay
parent a1fdff4c97
commit 6a202054f8

View file

@ -316,6 +316,9 @@ def record_sets_details(client, module):
else: else:
module.fail_json(msg="Hosted Zone Id is required") module.fail_json(msg="Hosted Zone Id is required")
if module.params.get('max_items'):
params['MaxItems'] = module.params.get('max_items')
if module.params.get('start_record_name'): if module.params.get('start_record_name'):
params['StartRecordName'] = module.params.get('start_record_name') params['StartRecordName'] = module.params.get('start_record_name')