MetastoreAssignment
laktory.models.resources.databricks.MetastoreAssignment
ยค
Bases: MetastoreAssignmentBase
Databricks Metastore Assignment
Examples:
import io
from laktory import models
assignment_yaml = '''
metastore_id: ${resources.metastore-prod.metastore_id}
workspace_id: 1234567890
default_catalog_name: dev
'''
assignment = models.resources.databricks.MetastoreAssignment.model_validate_yaml(
io.StringIO(assignment_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
api
|
Specifies whether to use account-level or workspace-level API. Valid values are
TYPE:
|
default_catalog_name
|
(Deprecated) Default catalog used for this assignment. Please use databricks_default_namespace_setting instead
TYPE:
|
metastore_id
|
ID of the metastore
TYPE:
|
workspace_id
|
Workspace ID which the resource belongs to. This workspace must be part of the account which the provider is configured with
TYPE:
|