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

R2: EU jurisdiction endpoint #409

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

R2: EU jurisdiction endpoint #409

wants to merge 2 commits into from

Conversation

rubdos
Copy link

@rubdos rubdos commented Dec 19, 2024

R2 offers a separate endpoint for EU-jurisdiction-only buckets. I exposed this through a new region variant.

Additionally, this fixes the region comment on Custom and the normal R2 region.

I also just tested this change: the R2-EU endpoint only works if the jurisdiction is forced to EU; otherwise, only the default endpoint works. The default endpoint works in both cases.


This change is Reviewable

Add new R2Eu variant to Region enum to support Cloudflare R2's EU
jurisdiction endpoint with format "{account_id}.eu.r2.cloudflarestorage.com"
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.

1 participant