From 738f4cb27d85590850b6b186853479301c619b7d Mon Sep 17 00:00:00 2001 From: nonshankus Date: Sun, 28 Feb 2016 14:36:56 +0100 Subject: [PATCH] Adding missing attributes regarding the hosted zone. --- cloud/amazon/ec2_elb_facts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cloud/amazon/ec2_elb_facts.py b/cloud/amazon/ec2_elb_facts.py index 549b87bac07..566447805f6 100644 --- a/cloud/amazon/ec2_elb_facts.py +++ b/cloud/amazon/ec2_elb_facts.py @@ -136,6 +136,8 @@ def get_elb_info(connection,elb): 'name': elb.name, 'zones': elb.availability_zones, 'dns_name': elb.dns_name, + 'canonical_hosted_zone_name': elb.canonical_hosted_zone_name, + 'canonical_hosted_zone_name_id': elb.canonical_hosted_zone_name_id, 'instances': [instance.id for instance in elb.instances], 'listeners': get_elb_listeners(elb.listeners), 'scheme': elb.scheme,