We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84fce10 + 5188f77 commit 93995d9Copy full SHA for 93995d9
rootfs/bin/create_bucket
@@ -26,7 +26,11 @@ if os.getenv('DATABASE_STORAGE') == "s3":
26
conn = boto.s3.connect_to_region(region)
27
if not bucket_exists(conn, bucket_name):
28
try:
29
- conn.create_bucket(bucket_name, location=region)
+ if region == "us-east-1":
30
+ # use "US Standard" region. workaround for https://github.com/boto/boto3/issues/125
31
+ conn.create_bucket(bucket_name)
32
+ else:
33
+ conn.create_bucket(bucket_name, location=region)
34
# NOTE(bacongobbler): for versions prior to v2.9.0, the bucket is created in the default region.
35
# if we got here, we need to propagate "us-east-1" into WALE_S3_ENDPOINT because the bucket
36
# exists in a different region and we cannot find it.
0 commit comments