Merge remote-tracking branch 'origin/feature/report_exporters' into feature/report_exporters

This commit is contained in:
maor.rayzin 2018-11-27 14:45:12 +02:00
commit 7f8a00ddc1
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ class AwsEnvironment(Environment):
def _get_region(self): def _get_region(self):
return self.aws_info.get_region() 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): def is_auth_enabled(self):
return True return True