cli icon indicating copy to clipboard operation
cli copied to clipboard

DAB Validation does not catch wrong references

Open MeinAccount opened this issue 4 months ago • 0 comments

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

MeinAccount avatar Sep 08 '25 11:09 MeinAccount