Per-Deployment Secrets?
I'm encountering an issue with Wrangler's secret management.
It seems that Wrangler doesn't support setting secrets on a per-deployment basis. This is causing problems because:
Am I misunderstanding deployment vs environment in Workers terms?
Thanks for your help in clarifying this.
It seems that Wrangler doesn't support setting secrets on a per-deployment basis. This is causing problems because:
- All branches that aren't 'main' are automatically treated as preview environments.
- Changing the database configuration by environment means ALL preview environments are updated at once, even when intending to isolate a change to a single branch.
- This means updating a configuration could break all branches on previous workers except the most recently deployed one.
Am I misunderstanding deployment vs environment in Workers terms?
Thanks for your help in clarifying this.