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

Fabien Gadet

02/16/2023, 5:28 PM
Hello guys , anyone ever got this :
Copy code
UserWarning: Error loading repository location dagster_poc:dagster._core.errors.DagsterInvalidDefinitionError: resource with key 'dbt' required by op 'run_dbt_05b60' was not provided. Please provide a <class 'dagster._core.definitions.resource_definition.ResourceDefinition'> to key 'dbt', or change the required key to one of the following keys which points to an <class 'dagster._core.definitions.resource_definition.ResourceDefinition'>: ['io_manager']
? I have no clue on how to fix that .
o

owen

02/16/2023, 6:15 PM
hi @Fabien Gadet! you'll need to apply a dbt_cli_resource to your dbt assets: https://docs.dagster.io/integrations/dbt/reference#using-the-dbt_cli_resource-for-dbt-cli-commands