https://dagster.io/ logo
#ask-community
Title
# ask-community
r

Rasmus Bonnevie

01/06/2023, 10:26 AM
In
dagster-dbt
, can I instantiate assets from two different DBT projects? Problem seems to be that they both require a
dbt
resource, but different ones - I get an error if I try to supply two different resources with the same key in the same repository. Is the proper way to split it into two `repository`/`Definitions`?
🤖 1
c

claire

01/06/2023, 6:02 PM
Hi Rasmus. It is possible to instantiate assets from 2 dbt projects in the same
Definitions
/
repository
object. The reason why you're seeing this error is because each resource key can only map to one unique resource object. You could change the resource key of one resource: https://discuss.dagster.io/t/5160928/hi-all-we-want-to-load-the-assets-from-2-dbt-projects-vdbt-a