Skip to content

Commit

Permalink
fix(setup-envdir): hardcode region to us-east-1
Browse files Browse the repository at this point in the history
This forces wal-e to always use us-east-1 until we figure out a fix for
deis#173.
  • Loading branch information
Matthew Fisher committed Dec 2, 2016
1 parent 6bab0a6 commit dcd5f7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootfs/docker-entrypoint-initdb.d/001_setup_envdir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ if [[ "$DATABASE_STORAGE" == "s3" || "$DATABASE_STORAGE" == "minio" ]]; then
echo $AWS_ACCESS_KEY_ID > AWS_ACCESS_KEY_ID
echo $AWS_SECRET_ACCESS_KEY > AWS_SECRET_ACCESS_KEY
fi
# HACK(bacongobbler): hardcode region to us-east-1 regardless of set region
# see https://github.com/deis/postgres/issues/173
AWS_REGION="us-east-1"
echo $AWS_REGION > AWS_REGION
echo $BUCKET_NAME > BUCKET_NAME
elif [ "$DATABASE_STORAGE" == "gcs" ]; then
Expand Down

0 comments on commit dcd5f7e

Please sign in to comment.