Daniel Mosesson
07/06/2022, 4:36 PMprha
07/06/2022, 5:09 PMDaniel Mosesson
07/06/2022, 5:10 PMenv
option when I pass it into the execute/run stage, not on the resource itself as part of the fieldprha
07/06/2022, 5:13 PMconfigured
API to hardcode the configuration at definition time:
my_resource.configured({"my_value": { "env": "MY_ENV_VAR" }})
Daniel Mosesson
07/06/2022, 5:16 PMprha
07/06/2022, 5:21 PM@job(resource_defs={"my_resource_key": my_resource.configured({"my_value": { "env": "MY_ENV_VAR" }})})
def my_job():
...
Daniel Mosesson
07/06/2022, 5:47 PMprha
07/06/2022, 6:16 PMmy_resource = my_unconfigured_resource.configured(...)