Hi. Question about `ShellTask`. I am running a flo...
# prefect-community
Hi. Question about
. I am running a flow using the docker agent and I am passing some env vars to the agent with the
-e var=value
option. I suppose these variables available to the shell task. Am I correct? or do I need to pass read them from the environment and pass them explicitly to the task?
Hey @Pedro Machado, Yes this should be the case - a ShellTask should read the environment variables you’ve assigned through the Agent, however it’ll only pick up the
if the flow is picked up by that particular Agent.