Aaron
11/08/2025, 11:56 AMNate
11/08/2025, 3:55 PMenvironment: Literal[“prod”, “dev”] or instead set the env var on the work pool base job template
i understand you want to namespace prod and dev via env var but that shouldn’t mean that all pipelines running against those respective servers need to run on the same machine as your server (unless that’s what you want, and workers would run the same VM as the server). people normally like to run their workers in a different place than the server so they can independently allocate resources.
i might check out work pools in the docs, as you can set the default ENVIRONMENT there and then that work pool config is stored server side but workers will give all new flow runs that env without you having to set that env on the server machineAaron
11/08/2025, 4:09 PMNate
11/08/2025, 4:12 PMNate
11/08/2025, 4:16 PMAaron
11/08/2025, 5:18 PMNate
11/09/2025, 1:12 AMprefect worker start process per work pool)
• 1 work pool per type of infra (process, docker) per ENVIRONMENT (dev, prod)Nate
11/09/2025, 1:13 AMAaron
11/11/2025, 5:51 PMNate
11/11/2025, 5:52 PM