https://dagster.io/ logo
d

dwall

02/19/2020, 11:56 PM
was the ability to use env vars in yaml config released in 0.7.0?
p

prha

02/20/2020, 12:34 AM
I think you can load environment variables in now as config?
cc @alex
a

alex

02/20/2020, 3:57 AM
Ya it’s cutting edge but the diff above should show you how you could do it
d

dwall

02/21/2020, 11:12 PM
trying to use the new syntax for snowflake resource:
Copy code
snowflake:
    config:
      account:
        env: SNOWFLAKE_ACCOUNT
      password:
        env: SNOWFLAKE_PASSWORD
      role:
        env: SNOWFLAKE_ROLE
      user:
        env: SNOWFLAKE_USER
      warehouse:
        env: SNOWFLAKE_WAREHOUSE
and getting an error because I believe the snowflake resource is expecting Strings for these values, not
dict
p

prha

02/21/2020, 11:32 PM
ah, yes… need to convert
snowflake_resource
over to using
StringSource
just put up a diff for that… will probably be in next week’s
0.7.2
d

dwall

02/21/2020, 11:50 PM
celebrate