Hi
I'm experiencing an issue with Databricks Asset Bundles where model aliases defined in the bundle configuration are not being applied to Unity Catalog, even though the deployment succeeds and the Terraform state shows the aliases are set.
Environment:
- Databricks CLI version: 0.277.0
- Cloud: Azure
- Unity Catalog enabled
Bundle configuration:
yaml
resources:
registered_models:
model_name:
name: model_name
catalog_name: catalog schema_name: schema comment: comment aliases:
- alias_name: staging version_num: 1
grants:
- privileges:
- MANAGE principal: USERSWhat I did:
- Model already existed in Unity Catalog with version 1
- Used databricks bundle deployment bind to link existing model to DAB
- Ran databricks bundle deploy
- Deploy completed successfully
In UI I see a new comment and permissions were set. However, UI shows no aliases on the model.
Expected behavior: Alias staging should be visible on the model pointing to version 1.
Actual behavior: Terraform state shows alias is configured, but it's not applied to the actual model in Unity Catalog.
Questions:
- Is this a known issue for registered_model aliases?
- Is there additional configuration required for aliases (Have tried setting catalog_name, schema_name, model_name. Could not set ID)?