Closed johnd0e closed 5 days ago
Is there a way to not depend on wrangler.toml to bind the kv namespace?
Want to know too!
Hi! This looks like it's an issue with workers-sdk and not wrangler-action. While it's technically feasible to implement this within wrangler-action, it would likely be brittle and be confusing due to differing behavior from wrangler.
If this is a feature you're interested in, please create a feature request in workers-sdk
Thanks!
I want to use some github repo as template, with deploy button.
The problem is the original repo uses KV and has
kv_namespace
hardcoded inwrangler.toml
. So no surprize thatwrangler-action
fails:wrangler.toml
.Possible solution:
id
inwrangler.toml
.The last step looks not clean for me, perhaps better would be to refer namespaces in other ways. E.g.: