Yaron Levi
10/21/2023, 4:29 PMYaron Levi
10/21/2023, 4:30 PMYaron Levi
10/21/2023, 4:30 PMYaron Levi
10/21/2023, 4:31 PMYaron Levi
10/21/2023, 4:31 PMYaron Levi
10/21/2023, 4:31 PMJake Kaplan
10/23/2023, 12:57 PMfrom prefect import variables, variables.get()
). Theyre dynamically pulled during runtime from the server.
They shouldn’t have any impact on the “env” field under job variables, which are the environment variables to be loaded into your container.
You can include prefect variables in your job variables as a templated value as well if that is helpful.
job_variables:
env:
MY_REGULAR_ENV_VAR: "abc"
MY_PREFECT_VAR_ENV_VAR: "{{ prefect.variables.my_variable }}"
Yaron Levi
10/23/2023, 1:00 PMYaron Levi
10/23/2023, 1:01 PM