mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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'],
|
||||
'kernel_id': lc['KernelId'],
|
||||
'ram_disk_id': lc['RamdiskId'],
|
||||
'associate_public_address': lc['AssociatePublicIpAddress'],
|
||||
'associate_public_address': lc.get('AssociatePublicIpAddress', False),
|
||||
}
|
||||
|
||||
results.append(data)
|
||||
|
|
Loading…
Reference in a new issue