Is there anyway to get the worker configuration du...
# ask-community
f
Is there anyway to get the worker configuration during runtime? I am creating my own
job_configuration
item that has some config that I want to expose into my flow. Is this possible as of now?
j
Hi @Farhood Etaati! Are you looking for other configuration outside of the
env
object?
f
Yes. I'm trying to get the job configuration object itself. I've developed a custom worker that has a complex configuration mechanism (docker in docker) so I need to propagate the meta worker info in an observable way. Environment is one way, but I would like to have more guarantee and more control over the exact config object I'm using.
@Jamie Zieziula Hi! Any updates on this? I want immutable configuration option for worker specific things. I need to prepare an environment before running a flow in the worker node.
👀 1
j
I would suggest either providing this information via flow parameters OR setting them as environment variables through the base job template // infra overrides
👍 1