Skip to content

Dbt cannot be run when using a MWAA Connection  #132

@laurodelacerda

Description

@laurodelacerda

I cannot run my dbt project using a Snowflake Connection.

It is okay with the connection, I tested it using astronomer-cosmos

When I run the using this code as an example it returns that I need to run dbt deps.

So I created a step to run a DbtDepsOperator, and it is all good.
But the DbtRunOperator still returns errors.

That is the code.
image

Errors when run DbtDepsOperator

dbt.exceptions.UninstalledPackagesFoundError: Compilation Error
  dbt found 3 package(s) specified in packages.yml, but only 0 package(s) installed in dbt_packages. Run "dbt deps" to install package dependencies.

dbt.exceptions.DbtRuntimeError: Runtime Error
  fatal: Invalid --project-dir flag. Not a dbt project. Missing dbt_project.yml file

Any help will be much appreciated. 🙏🏼

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions