-
Notifications
You must be signed in to change notification settings - Fork 334
wrangler route list
knows nothing about --env
#1216
Comments
The error message here indicates that you need to set a |
Of course the zone_id and account_id have been filled for these envs because I can publish the worker. here is a sample to reproduce it:
terminal output:
|
I can also confirm that this is an issue. If I create an environment, then I can no longer use |
I'm still unable to reproduce this error - @ashleymichal maybe you can try? |
@EverlastingBugstopper In the example I gave I voluntarily let empty the account and zone id to demonstrate it doesn't take into consideration the values in the prod env. If you have an account and zone id in the default section, then if you try to switch to another zone in the prod env you'll see you'll query the default zone, not the prod one. Hopping it will help to reproduce... |
we've repro'd this and i've started on a solution. should be able to work on it more later this week. |
Same Problem here, is there a fix? |
I'll take a look at this issue |
🐛 Bug Report
Looks like the
route
command is unable to load config according to a specified environement:Environment
rustc -V
: N/Anode -v
: v12.16.1wrangler -V
: wrangler 1.8.2Steps to reproduce
Put configuration of zones/accounts/routes in an env section and try to list the routes.
What did you expect to see?
Routes associated to an env.
What did you see instead?
missing configuration message or default config routes instead of the env's ones.
The text was updated successfully, but these errors were encountered: