Skip to content

registered_model aliases in bundle config not applied to Unity Catalog despite successful deploy #4012

@SimonasS

Description

@SimonasS

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:

Image

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
          }
        ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    DABsDABs related issuesEnhancementNew feature or requestStale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions