Streamlined ec2_elb_facts module return values with naming in ec2_elb… (#2081)

* Streamlined ec2_elb_facts module return values with naming in ec2_elb_lb (hosted zones)

* Keep the old return values for hosted zone to keep backwards compatibility
reviewable/pr18780/r1
Stefan Horning 9 years ago committed by René Moser
parent 1e3c0ba1cf
commit 8e20fcfafe

@ -138,6 +138,8 @@ def get_elb_info(connection,elb):
'dns_name': elb.dns_name, 'dns_name': elb.dns_name,
'canonical_hosted_zone_name': elb.canonical_hosted_zone_name, 'canonical_hosted_zone_name': elb.canonical_hosted_zone_name,
'canonical_hosted_zone_name_id': elb.canonical_hosted_zone_name_id, 'canonical_hosted_zone_name_id': elb.canonical_hosted_zone_name_id,
'hosted_zone_name': elb.canonical_hosted_zone_name,
'hosted_zone_id': elb.canonical_hosted_zone_name_id,
'instances': [instance.id for instance in elb.instances], 'instances': [instance.id for instance in elb.instances],
'listeners': get_elb_listeners(elb.listeners), 'listeners': get_elb_listeners(elb.listeners),
'scheme': elb.scheme, 'scheme': elb.scheme,

Loading…
Cancel
Save