Skip to content

dbt Cloud Provider only works for Multi-tenant instances #22730

@ernestoongaro

Description

@ernestoongaro

Apache Airflow Provider(s)

dbt-cloud

Versions of Apache Airflow Providers

No response

Apache Airflow version

2.2.5 (latest released)

Operating System

any

Deployment

Official Apache Airflow Helm Chart

Deployment details

No response

What happened

Some dbt Cloud deployments require the setting of a different base URL (could be X.getdbt.com) or cloud.X.getdbt.com)

Relevant line: https://github.com/apache/airflow/blame/436c17c655494eff5724df98d1a231ffa2142253/airflow/providers/dbt/cloud/hooks/dbt.py#L154

   self.base_url = "https://cloud.getdbt.com/api/v2/accounts/"

What you think should happen instead

A runtime paramater that defaults to cloud.getdbt

How to reproduce

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions