Hi,
there seems to be some issue with creation of s3 buckets for regions
other than the default 'us-east' and 'eu'. At present you can either
not specify a location in which case a bucket is created in the us-
east datacenter, otherwise you can specify ':location => :eu' for
buckets in Ireland.
It should be possible to specify the location constraints: 'ap-
southeast-1' for the asia pacific region and 'us-west-1 ' for the us-
west region, as per
http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?RequestEndpoints.html
and
http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?LocationSelection.html
I've been poking at the gem but can't see whats wrong. Note that this
was/is working fine with the right_aws gem (currently i am using
right_aws 2.0.0). If I specify :location => 'ap-southeast-1' then I
get "InvalidLocationConstraint: The specified location-constraint is
not valid". If I change the default endpoint to s3-ap-
southeast-1.amazonaws.com and also set the :location to 'ap-
southeast-1' then I get "IllegalLocationConstraintException: The AP-
SOUTHEAST-1 location constraint is incompatible for the region
specific endpoint".
I hope this makes some sense to someone :), many thanks for any help/
hints in advance,
marios