-
Notifications
You must be signed in to change notification settings - Fork 10k
Closed
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:r2R2 object storage: https://developers.cloudflare.com/r2R2 object storage: https://developers.cloudflare.com/r2
Description
Existing documentation URL(s)
In the tutorial on how to use R2 with bindings, there is a missing bit of important documentation (this page https://developers.cloudflare.com/r2/api/workers/workers-api-usage/#3-bind-your-bucket-to-a-worker)
Wrangler CLI will refuse to deploy when the jurisdiction is missing and the bucket is using regional services
What changes are you suggesting?
add to the doc the following:
{
"r2_buckets": [
{
"binding": "MY_BUCKET",
"bucket_name": "<YOUR_BUCKET_NAME>"
"jurisdiction": "eu", // When the bucket is using regional services, leave empty otherwise
}
]
}
Additional information
No response
Metadata
Metadata
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsproduct:r2R2 object storage: https://developers.cloudflare.com/r2R2 object storage: https://developers.cloudflare.com/r2