* Fixed the aws env class to not be static anymore after itay's change.

* Added aws region getter
This commit is contained in:
maor.rayzin 2018-11-27 14:45:44 +02:00
parent 7f8a00ddc1
commit fb5ae63f04
1 changed files with 0 additions and 4 deletions

View File

@ -18,10 +18,6 @@ class AwsEnvironment(Environment):
def _get_region(self):
return self.aws_info.get_region()
@staticmethod
def _get_region():
return urllib2.urlopen('http://169.254.169.254/latest/meta-data/placement/availability-zone').read()[:-1]
def is_auth_enabled(self):
return True