parametizing dbt_project.yml; eg different hostnames for external location_root for dev and prod #6034
-
Hi all, I'm stumped on how to approach an environment problem I have (databricks on azure) I'm using external tables and I define the path using the location_root property in dbt_project.yml the hostname of the storage for dev and prod are different I cant see any ability to define a property/variable in my profiles.yml file for the different environments How are others approaching this problem? I dont want to have a separate project for dev and prod, and I can't see anything in the doco about this here's an example of what I mean
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
figured out i could do a conditional jinja if based on the passed in target (dev/prod) property for the location_root path |
Beta Was this translation helpful? Give feedback.
figured out i could do a conditional jinja if based on the passed in target (dev/prod) property for the location_root path