[wrangler] Support jurisdictions for KV namespaces - #14807
Conversation
@cloudflare/autoconfig
@cloudflare/config
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
🦋 Changeset detectedLatest commit: 92c6c39 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
edmundhung
left a comment
There was a problem hiding this comment.
The tests pass. So I think the SDK did pass the jurisdiction flag to the API correctly.
emily-shen
left a comment
There was a problem hiding this comment.
i don't feel strongly either way, but r2 jurisdiction is a config option too - is that something we should have here too?
|
@emily-shen adding it now |
…the jurisdiction flag is hidden rather than experimental Co-authored-by: Edmund Hung <me@edmund.dev>
…ng namespaces during wrangler deploy
…at the jurisdiction flag is experimental and gated to allowed accounts only Co-authored-by: Edmund Hung <me@edmund.dev>
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
edmundhung
left a comment
There was a problem hiding this comment.
@teresalves You might wanna ask the team admin of @cloudflare/workers-kv to add you in the team. I will bypass the check for the CI for now :)
Codeowners Bypass
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
KV-2108
Adds jurisdiction support for KV namespaces in two places:
wrangler kv namespace create --jurisdiction <us|eu|fedramp>— a hidden flagthat creates a KV namespace scoped to a specific jurisdiction. Hidden from
--helpbecause the feature is currently gated to allow-listed accountsserver-side.
An optional
jurisdictionfield onkv_namespacesbindings in wrangler.jsonc