Adds tenancy state to returning json
This commit is contained in:
parent
59701feadb
commit
71d1044b8b
1 changed files with 5 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue