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 Gabriel Burkholder
parent fade5b7936
commit 2ef35c33d0

View file

@ -316,6 +316,9 @@ def record_sets_details(client, module):
else:
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'):
params['StartRecordName'] = module.params.get('start_record_name')