ec2_lc_find: Set default value for AssociatePublicIpAddress, since is missing when is false (#3417)
This commit is contained in:
parent
9814136d3e
commit
14fee8d5f7
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ def find_launch_configs(client, module):
|
||||||
'security_groups': lc['SecurityGroups'],
|
'security_groups': lc['SecurityGroups'],
|
||||||
'kernel_id': lc['KernelId'],
|
'kernel_id': lc['KernelId'],
|
||||||
'ram_disk_id': lc['RamdiskId'],
|
'ram_disk_id': lc['RamdiskId'],
|
||||||
'associate_public_address': lc['AssociatePublicIpAddress'],
|
'associate_public_address': lc.get('AssociatePublicIpAddress', False),
|
||||||
}
|
}
|
||||||
|
|
||||||
results.append(data)
|
results.append(data)
|
||||||
|
|
Loading…
Reference in a new issue