forked from p15670423/monkey
Merge remote-tracking branch 'origin/feature/report_exporters' into feature/report_exporters
This commit is contained in:
commit
7f8a00ddc1
|
@ -18,6 +18,10 @@ 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue