From b5761750c43b03b833a414cd7a066e0bd24acb96 Mon Sep 17 00:00:00 2001 From: Peter Gehres Date: Mon, 20 Jan 2014 13:34:44 -0800 Subject: [PATCH] Adding the region to the output of the ec2 module's creation of a new instance. --- library/cloud/ec2 | 1 + 1 file changed, 1 insertion(+) diff --git a/library/cloud/ec2 b/library/cloud/ec2 index e590b40fbdc..5eb579d2afc 100644 --- a/library/cloud/ec2 +++ b/library/cloud/ec2 @@ -549,6 +549,7 @@ def get_instance_info(inst): 'image_id': inst.image_id, 'key_name': inst.key_name, 'placement': inst.placement, + 'region': inst.placement[:-1], 'kernel': inst.kernel, 'ramdisk': inst.ramdisk, 'launch_time': inst.launch_time,