Skip to content

Permissions not a recognized field in model_serving_endpoint resource #4367

@keith-penrod-awardco

Description

@keith-penrod-awardco

Describe the issue

I'm trying to deploy a model serving endpoint as part of my Databricks asset bundle. I have permissions defined according to the documentation, but when I go to deploy I get the error message
Debug: model serving endpoint normalization diagnostic: unknown field: permissions pid=2573 mutator=terraform.Write

Configuration

resources:
model_serving_endpoints:
gpt-4o:
permissions:
- service_principal_name: ${var.backend_service_principal_name}
level: CAN_QUERY

Steps to reproduce the behavior

  1. Define a model_serving_endpoint with permissions as part of a databricks asset bundle
  2. Deploy the bundle

Expected Behavior

Model serving endpoint should be deployed with the specified permissions

Actual Behavior

Error indicating that "permissions" is an unexpected field in the configuration.
Debug: model serving endpoint normalization diagnostic: unknown field: permissions pid=2573 mutator=terraform.Write

OS and CLI version

OS: Ubuntu
CLI: 0.285.0

Is this a regression?

I have not tried earlier versions of the CLI.

Debug Logs

I couldn't fit the whole log in due to character constraint. It is attached

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    DABsDABs related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions