Adds tenancy state to returning json

This commit is contained in:
Philip Misiowiec 2014-12-30 23:37:38 -08:00
parent 59701feadb
commit 71d1044b8b

View file

@ -604,6 +604,11 @@ def get_instance_info(inst):
except AttributeError:
instance_info['ebs_optimized'] = False
try:
instance_info['tenancy'] = getattr(inst, 'placement_tenancy')
except AttributeError:
instance_info['tenancy'] = 'default'
return instance_info
def boto_supports_associate_public_ip_address(ec2):