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