When you create a bucket you must specify a locationconstraint if the region is not us-east-1. This works if you specify a region but fails if you use the default region (and the default region has been configured to NOT be us-east-1).
When you create a bucket you must NOT specify a locationconstraint if the region is us-east-1. This fails (Arrow specifies the locationconstraint and receives an error "InvalidLocationConstraint Message: The specified location-constraint is not valid").
CreateBucket is getting the region from options().region which is the empty string if the user didn't specify a region.
Reporter: Weston Pace / @westonpace
Assignee: Weston Pace / @westonpace
PRs and other links:
Note: This issue was originally created as ARROW-13228. Please see the migration documentation for further details.