Fixes route53_facts to use max_items parameter with record_sets query.

reviewable/pr18780/r1
Gabriel Burkholder 9 years ago committed by Gabriel Burkholder
parent fade5b7936
commit 2ef35c33d0

@ -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')

Loading…
Cancel
Save