From 62d7ded9ba92920ed48543e99437b70c63ca66e1 Mon Sep 17 00:00:00 2001 From: Alex Lee Date: Sun, 17 Jan 2016 14:01:09 -0800 Subject: [PATCH 1/2] adding public ip address --- cloud/amazon/ec2_remote_facts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud/amazon/ec2_remote_facts.py b/cloud/amazon/ec2_remote_facts.py index 28fc2c97d63..4b5dc3c87b1 100644 --- a/cloud/amazon/ec2_remote_facts.py +++ b/cloud/amazon/ec2_remote_facts.py @@ -113,6 +113,7 @@ def get_instance_info(instance): 'region': instance.region.name, 'persistent': instance.persistent, 'private_ip_address': instance.private_ip_address, + 'public_ip_adress': instance.ip_address, 'state': instance._state.name, 'vpc_id': instance.vpc_id, } From 9391103f01eaf7828a52c3725f5caff2575fa221 Mon Sep 17 00:00:00 2001 From: Alex Lee Date: Sun, 17 Jan 2016 14:02:57 -0800 Subject: [PATCH 2/2] correcting spelling mistake --- cloud/amazon/ec2_remote_facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/amazon/ec2_remote_facts.py b/cloud/amazon/ec2_remote_facts.py index 4b5dc3c87b1..d6733896cae 100644 --- a/cloud/amazon/ec2_remote_facts.py +++ b/cloud/amazon/ec2_remote_facts.py @@ -113,7 +113,7 @@ def get_instance_info(instance): 'region': instance.region.name, 'persistent': instance.persistent, 'private_ip_address': instance.private_ip_address, - 'public_ip_adress': instance.ip_address, + 'public_ip_address': instance.ip_address, 'state': instance._state.name, 'vpc_id': instance.vpc_id, }