Skip to content
This repository has been archived by the owner on Sep 17, 2021. It is now read-only.

Set AWS_DEFAULT_REGION environment variable #1170

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions security_monkey/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@

ARN_PREFIX = 'arn:' + ARN_PARTITION

# Avoid the need for configuring ~/.aws/config file with default region especially in govcloud
os.environ['AWS_DEFAULT_REGION'] = AWS_DEFAULT_REGION

db = SQLAlchemy(app)

# For ELB and/or Eureka
Expand Down