Remove unused `_instance_id`, `region`, `_get_instance_id()`, and `_get_region()` from `monkey_island/cc/environment/aws.py`

This commit is contained in:
Shreya 2021-05-05 18:50:54 +05:30
parent 380afa675a
commit 8c97f32fbc
1 changed files with 0 additions and 8 deletions

View File

@ -11,14 +11,6 @@ class AwsEnvironment(Environment):
super(AwsEnvironment, self).__init__(config)
# Not suppressing error here on purpose. This is critical if we're on AWS env.
self.aws_info = AwsInstance()
self._instance_id = self._get_instance_id()
self.region = self._get_region()
def _get_instance_id(self):
return self.aws_info.get_instance_id()
def _get_region(self):
return self.aws_info.get_region()
def get_auth_users(self):
if self._is_registered():