cli
cli copied to clipboard
DAB Validation does not catch wrong references
Describe the issue
Consider the following DAB definition
resources:
schemas:
test:
name: test
catalog_name: test
volumes:
ingest:
name: ingest
schema_name: ${schemas.test.name}
catalog_name: ${schemas.test.catalog_name}
volume_type: MANAGED
This definition is wrong, as one should be using resources.schemas.test.name instead of schemas.test.name.
Expected Behavior
Validation fails
Actual Behavior
Validation is successful, only failing on deploy
OS and CLI version
Using Databricks CLI v0.265.0 on Ubuntu 24.04