This message was deleted.
# ask-community
s
This message was deleted.
o
hi @Eivind, your suspicion is likely correct -- dbt_cloud_resource does not currently expose a configuration field for the dbt cloud host, although the underlying object does. it should be a simple change to add in that config field (can likely get it in for this thursday's release). In the meantime if you want to try things out, a hacky solution would be to create a
my_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)
hi @Eivind -- just a heads up that you should probably delete the actual auth token string from that error message (public slack and all 🙂). as for the error, when you configure something with a blob like
{"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}
❤️ 1