Peter Arwanitis
05/02/2023, 3:15 PMresources
which is using EnvVar
https://docs.dagster.io/guides/dagster/using-environment-variables-and-secrets#example-1-per-environment-configuration
• to loading from YAML (so that the config file can be switched easily, w/o changing the code)
• but still with envvar expansion from .env
file?
before I go with a custom approach like dependency-injector support for loading yaml-configs with envvars expansionyuhan
05/02/2023, 11:16 PMresources:
resource_key_name:
config:
env: ENVIRONMENT_VARIABLE_NAME
https://docs.dagster.io/guides/dagster/using-environment-variables-and-secrets#in-yaml-or-config-dictionariesyuhan
05/02/2023, 11:16 PM.env
file, you’d specify as:
ENVIRONMENT_VARIABLE_NAME=...