[cloud] Fix Route53 module value option, defaulting to empty list (#24555)
This commit is contained in:
parent
d46dd99f47
commit
bd4f08d434
1 changed files with 2 additions and 2 deletions
|
@ -411,7 +411,7 @@ def main():
|
|||
alias=dict(required=False, type='bool'),
|
||||
alias_hosted_zone_id=dict(required=False),
|
||||
alias_evaluate_target_health=dict(required=False, type='bool', default=False),
|
||||
value=dict(required=False, type='list'),
|
||||
value=dict(required=False, type='list', default=[]),
|
||||
overwrite=dict(required=False, type='bool'),
|
||||
retry_interval=dict(required=False, default=500),
|
||||
private_zone=dict(required=False, type='bool', default=False),
|
||||
|
@ -565,7 +565,7 @@ def main():
|
|||
|
||||
if command_in == 'get':
|
||||
if type_in == 'NS':
|
||||
ns = record['values']
|
||||
ns = record.get('values', [])
|
||||
else:
|
||||
# Retrieve name servers associated to the zone.
|
||||
z = invoke_with_throttling_retries(conn.get_zone, zone_in)
|
||||
|
|
Loading…
Reference in a new issue