diff --git a/security_monkey/__init__.py b/security_monkey/__init__.py index 6015f8636..27bfa7cdb 100644 --- a/security_monkey/__init__.py +++ b/security_monkey/__init__.py @@ -71,6 +71,10 @@ ARN_PREFIX = 'arn:' + ARN_PARTITION + +# Set default region +os.environ['AWS_DEFAULT_REGION'] = AWS_DEFAULT_REGION + db = SQLAlchemy(app) # For ELB and/or Eureka