Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dbt cannot be run when using a MWAA Connection #132

Open
laurodelacerda opened this issue Feb 8, 2024 · 0 comments
Open

Dbt cannot be run when using a MWAA Connection #132

laurodelacerda opened this issue Feb 8, 2024 · 0 comments

Comments

@laurodelacerda
Copy link

laurodelacerda commented Feb 8, 2024

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

@laurodelacerda laurodelacerda changed the title Project can be build in a MWAA Connection Dbt cannot be run in using a MWAA Connection Feb 8, 2024
@laurodelacerda laurodelacerda changed the title Dbt cannot be run in using a MWAA Connection Dbt cannot be run when using a MWAA Connection Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant