I’m using wrangler to deploy worker in my CI pipeline, but I have hit an issue where I need to bind the kv-namespace at environment level. From what I can see this doesn’t look possible. I thought it might be something that I could achieve via the API if not toml but this also looks to be deprecated in V4 api.
This is what I was hoping was possible:
[env.prod] [[kv-namespaces]] binding = "workerStore" id = "<production_id>" [env.staging] [[kv-namespaces]] binding = "workerStore" id = "<staging_id>"
Any help on this is much appreciated, as currently it looks like the tooling around workers is deosn’t really work for CI. I can’t see the point of having wrangler, if I still need to do a lot of the set-up in the dashboard.