Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use s3autoregion for simplified bucket region handling #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stefansundin
Copy link
Owner

With s3autoregion you no longer have to worry about specifying the wrong AWS region, the code will always correctly resolve the region, and no API calls will be wasted. You don't even need GetBucketLocation permissions!

I'll leave this in as a PR until there's been more testing done. And it would be nice if AWS could address the HeadObject discrepancy when using S3 Accelerate. 🤔

You can install it with:

go install github.com/stefansundin/shrimp@s3autoregion

@stefansundin stefansundin added the enhancement New feature or request label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant