kkb0318 / irsa-manager

MIT License
17 stars 3 forks source link

us-east-1 S3 is a special case #2

Closed brianr2600 closed 3 weeks ago

brianr2600 commented 3 weeks ago

To create buckets in us-east-1, you must omit the LocationConstraint field as specifying us-east-1 there produces an error. See https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketConfiguration.html#API_CreateBucketConfiguration_Contents

Simply putting the bucket in another region doesn't seem to help - the S3 client hits the wrong endpoint and gets stuck in a redirect loop. As a workaround, I removed CreateBucketConfiguration from interna/aws/aws.go. As expected it breaks every region except us-east-1, so a proper patch is still needed.

kkb0318 commented 3 weeks ago

@brianr2600

Thank you for creating the issue!

I have resolved it with https://github.com/kkb0318/irsa-manager/pull/6.

I plan to release the fix along with the resolution for issue #2 in version 0.3.1. Please stay tuned for the upcoming release.

Version 0.3.1 has been released.