Common: Remove disused AWSInstance.get_account_id()

This commit is contained in:
Mike Salvatore 2022-05-05 11:39:49 -04:00
parent 64f9bcacb5
commit ab136284dc
1 changed files with 0 additions and 7 deletions

View File

@ -108,10 +108,3 @@ class AWSInstance:
:return: The account id
"""
return json.loads(instance_identity_document_response)[ACCOUNT_ID_KEY]
def get_account_id(self):
"""
:return: the AWS account ID which "owns" this instance.
See https://docs.aws.amazon.com/general/latest/gr/acct-identifiers.html
"""
return self.account_id