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

Allow specifying endpoint url for S3 #92

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Allow specifying endpoint url for S3 #92

merged 1 commit into from
Jun 12, 2024

Conversation

parkan
Copy link
Contributor

@parkan parkan commented Jun 11, 2024

Many services aside from AWS (for example Cloudflare R2) provide an S3 compatible interface, however the current implementation of the engine is restricted to Amazon. This simple patch allows for uploading to dozens of other hosts, as well as overriding the endpoint for AWS if necessary for e.g. GDPR compliance reasons.

@meeb
Copy link
Owner

meeb commented Jun 12, 2024

Thanks! Looks like a useful addition. There's a couple of minor tweaks I'll make (e.g. the default for the parameter is None not '' in boto3) and the documentation needs to be updated but otherwise looks fine. I'll merge it into the next release.

@meeb meeb merged commit 324b888 into meeb:master Jun 12, 2024
@parkan
Copy link
Contributor Author

parkan commented Jun 12, 2024

thank you for the quick merge 🙏

@meeb
Copy link
Owner

meeb commented Aug 18, 2024

Sorry for taking a while, your PR is in the latest 3.2.5 release available now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants