From 02411301bc57a454b651b982714fe56b1f7f5228 Mon Sep 17 00:00:00 2001 From: RIZWAN AHMAD Date: Sun, 27 Oct 2019 21:11:30 +0530 Subject: [PATCH] Update __init__.py --- security_monkey/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) 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