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