ec2_lc_find: Set default value for AssociatePublicIpAddress, since is missing when is false (#3417)

pull/18777/head
Jose Armesto 8 years ago committed by Matt Clay
parent 9814136d3e
commit 14fee8d5f7

@ -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…
Cancel
Save