Slackbot
05/16/2022, 5:15 AMowen
05/16/2022, 4:14 PMmy_dbt_cloud_resource
(basically copy-paste https://sourcegraph.com/github.com/dagster-io/dagster/-/blob/python_modules/libraries/dagster-dbt/dagster_dbt/cloud/resources.py?L18 and hard code dbt_cloud_host="<http://cloud.domain.getdbt.com|cloud.domain.getdbt.com>"
in the returned object){"auth_token": {"env": <something>}}
, the <something> variable is meant to be the name of the environment variable that you want dagster to load the value from. It seems like you're loading the environment variable yourself, which is totally fine, but in that case you'll want to just directly supply that value as config. This would be {"auth_token": dbt_env}