diff --git a/localstack/services/cloudformation/models/s3.py b/localstack/services/cloudformation/models/s3.py index ad4a7d3e2e9e8..b5bfbcb5c6dea 100644 --- a/localstack/services/cloudformation/models/s3.py +++ b/localstack/services/cloudformation/models/s3.py @@ -164,11 +164,15 @@ def _create_bucket(resource_id, resources, resource_type, func, stack_name): except ClientError as e: if e.response["Error"]["Message"] == "Not Found": bucket_name = props.get("BucketName") - s3_client.create_bucket( - Bucket=bucket_name, - ACL=convert_acl_cf_to_s3(props.get("AccessControl", "PublicRead")), - CreateBucketConfiguration={"LocationConstraint": aws_stack.get_region()}, - ) + params = { + "Bucket": bucket_name, + "ACL": convert_acl_cf_to_s3(props.get("AccessControl", "PublicRead")), + } + if aws_stack.get_region() != "us-east-1": + params["CreateBucketConfiguration"] = { + "LocationConstraint": aws_stack.get_region() + } + s3_client.create_bucket(**params) result = { "create": [