Daniel
10/10/2024, 3:28 PMwork_pool:
name: cloud-run-work-pool
work_queue_name: default
schedules: []
job_variables:
image: '{{ build_image.image }}'
env:
ENV_FILE: '.env.prod'
PREFECT_LOGGING_LEVEL: 'DEBUG'
schedules: []
This works exactly as expected in prefect v2.19.1 I’m using in another project but when using 2.20.2 I can’t seem to access any of the env variables set in the .env.prod
file I’m passing in my prefect flow. I checked release notes (https://github.com/PrefectHQ/prefect/releases?q=2.20.2&expanded=true) and saw v2.20.2 had some fix related to environment variables but it’s not clear to me what the solution is and how to pass an env file to a flow deployment in v2.20.2. Please can someone help?