Adds tenancy state to returning json

This commit is contained in:
Philip Misiowiec 2014-12-30 23:37:38 -08:00 committed by Matt Clay
parent 6fc04862a4
commit f3abfa0f19

View file

@ -601,6 +601,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):