From ab136284dcd072f1df24caffe3da8355bea8564e Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 5 May 2022 11:39:49 -0400 Subject: [PATCH] Common: Remove disused AWSInstance.get_account_id() --- monkey/common/aws/aws_instance.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/monkey/common/aws/aws_instance.py b/monkey/common/aws/aws_instance.py index bc7d44805..cd5d42921 100644 --- a/monkey/common/aws/aws_instance.py +++ b/monkey/common/aws/aws_instance.py @@ -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