diff --git a/pypicloud/storage/s3.py b/pypicloud/storage/s3.py index a05ed95..52a0631 100644 --- a/pypicloud/storage/s3.py +++ b/pypicloud/storage/s3.py @@ -113,7 +113,7 @@ def verify_value(val): if e.response["Error"]["Code"] == "404": LOG.info("Creating S3 bucket %s", bucket_name) - if config.region_name: + if config.region_name and config.region_name != "us-east-1": location = {"LocationConstraint": config.region_name} bucket.create(CreateBucketConfiguration=location) else: