Skip to content

WorkspaceConf

laktory.models.resources.databricks.WorkspaceConf ¤

Bases: WorkspaceConfBase

Databricks workspace configuration

Expert workspace configuration properties (e.g. enableIpAccessLists, maxTokenLifetimeDays, enableTokensConfig). Declare a single instance per workspace: several instances setting the same key have no deterministic outcome.

Examples:

import io

from laktory import models

conf_yaml = '''
custom_config:
  enableIpAccessLists: 'true'
  maxTokenLifetimeDays: '90'
'''
conf = models.resources.databricks.WorkspaceConf.model_validate_yaml(
    io.StringIO(conf_yaml)
)
References
BASE DESCRIPTION
custom_config

TYPE: dict[str, str] | None | VariableType DEFAULT: None

ATTRIBUTE DESCRIPTION
resource_key

Singleton: named after the resource type

TYPE: str

resource_key property ¤

Singleton: named after the resource type