Variables in databricks.yml "include:" - Asset Bundles

nickneoners
New Contributor II

HI,

We've got an app that we deploy to multiple customers workspaces. 

We're looking to transition to asset bundles. We would like to structure our resources like:

 

 

-src/
-resources/
|-- customer_1/
   |-- job_1
   |-- job_2
|-- customer_2/
   |-- job_3
   |-- job_4
|-- customer_3/
   |-- job_5
   |-- job_6
- databricks.yml

 

 

so each customer only gets their specific workflows.

In `databricks.yml` would love to do:

 

 

bundle:
  name: my_app

include: 
  - resources/${bundle.target}/*.yml

 

 

but unfortunately it seems you can't pass any variables into the `include` block.

Any ideas?

Thanks!