cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Asset Bundle Include Glob paths not resolving recursive directories

DavidMoss
New Contributor

Hello,

When trying to include resource definitions in nested yaml files, the recursive paths I am specifying in the include section are not resolving as would be expected.

With the include path resources/**/*.yml and a directory structure structure as follows:
/
| databricks.yml
| resources
- | clusters
- - | cluster1.yml
- - | cluster2.yml
- | unity-catalog
- - | schemas
- - - | schema1.yml
- - - | schema2.yml

I would expect all .yml files to be included in the deployed template, but only those in resources/clusters are.  If I change the include to resources/**/**/*.yml then all the .yml files in resources/unity-catalog/schemas are included, but the clusters are not.  If I add both paths to the include, then all the nested .yml files are included within the deployed template, though this is obviously a less than ideal workaround.

Am I misunderstanding how these paths are supposed to be resolved or is this a bug in the databricks cli?

For reference I am using Databricks CLI v0.255.0 within a PowerShell terminal on Windows 10.

0 REPLIES 0

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now