Your worker names are different for each environment right? If you remove the `environment` and keep
Your worker names are different for each environment right? If you remove the
Environments are not a semantic thing all things understand, I personally see it mostly as a wrangler thing to group your configuration, but then the resources are identified by their own IDs/names.
environment and keep the script_name with the correct worker name does it work? The error says there isn't any worker with the name api which is correct, since you say the worker is api-staging.Environments are not a semantic thing all things understand, I personally see it mostly as a wrangler thing to group your configuration, but then the resources are identified by their own IDs/names.

