Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route53_info: Add snake_cased return key,values to remaining methods #1322

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion plugins/modules/route53_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ def reusable_delegation_set_details():
params['DelegationSetId'] = module.params.get('delegation_set_id')
results = client.get_reusable_delegation_set(**params)

results['delegation_sets'] = results['DelegationSets']
return results


Expand Down Expand Up @@ -495,7 +496,9 @@ def change_details():


def checker_ip_range_details():
return client.get_checker_ip_ranges()
results = client.get_checker_ip_ranges()
results['checker_ip_ranges'] = results['CheckerIpRanges']
return results


def get_count():
Expand All @@ -522,6 +525,7 @@ def get_health_check():
elif module.params.get('health_check_method') == 'status':
results = client.get_health_check_status(**params)

results['health_check'] = camel_dict_to_snake_dict(results['HealthCheck'])
return results


Expand Down