Open dan-lind opened 2 years ago
The following line unconditionally sets the LocationConstraint if a region is specified. https://github.com/jariz/gatsby-plugin-s3/blob/master/gatsby-plugin-s3/src/bin.ts#L199
But per the S3 API documentation, us-east-1 is not a valid LocationConstraint. https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketConfiguration.html
When we configure our region to be us-east-1 in the plugin, AWS responds with "The specified location-constraint is not valid"
The following line unconditionally sets the LocationConstraint if a region is specified. https://github.com/jariz/gatsby-plugin-s3/blob/master/gatsby-plugin-s3/src/bin.ts#L199
But per the S3 API documentation, us-east-1 is not a valid LocationConstraint. https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketConfiguration.html
When we configure our region to be us-east-1 in the plugin, AWS responds with "The specified location-constraint is not valid"