Skip to content

Dbt cannot be run when using a MWAA Connection  #132

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. 🙏🏼

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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