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.