-
Notifications
You must be signed in to change notification settings - Fork 145
Open
databricks/terraform-provider-databricks
#5448Labels
DABsDABs related issuesDABs related issuesEnhancementNew feature or requestNew feature or requestStale
Description
Describe the issue
Model aliases defined in Databricks Asset Bundle configuration are not being applied to Unity Catalog models, even though:
- databricks bundle deploy completes successfully
- Terraform state shows aliases are configured
Configuration
Have an existing registered model in Unity Catalog with 2 versions
Create bundle configuration:
What I did:
- Model already existed in Unity Catalog with versions 1 and 2
- 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 2 while alias test - version 1.
Actual Behavior
Terraform state shows alias is configured, but it's not applied to the actual model in Unity Catalog.
OS and CLI version
- Databricks CLI version: 0.277.0
- Cloud: Azure
- Unity Catalog enabled
- Windows
Is this a regression?
Have tried 0.278.0, but result is the same.
Debug Logs
Output logs if you run the command with debug logs enabled. Example: databricks bundle deploy --log-level=debug. Redact if needed
{
"instances": [ { "attributes": { "aliases": [ { "alias_name": "test", "catalog_name": "", "id": "", "model_name": "", "schema_name": "", "version_num": 1 }, { "alias_name": "staging", "catalog_name": "", "id": "", "model_name": "", "schema_name": "", "version_num": 2 } ],
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DABsDABs related issuesDABs related issuesEnhancementNew feature or requestNew feature or requestStale