Fixes route53_facts to use max_items parameter with record_sets query.
This commit is contained in:
parent
a1fdff4c97
commit
6a202054f8
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue