Skip to content

User

laktory.models.resources.databricks.User ¤

Bases: BaseModel, PulumiResource, TerraformResource

Databricks user

ATTRIBUTE DESCRIPTION
disable_as_user_deletion

If True user is disabled instead of delete when the resource is deleted

TYPE: bool

display_name

Display name for the user

TYPE: str

group_ids

List of the group ids that the user should be member of.

TYPE: list[str]

lookup_existing

Specifications for looking up existing resource. Other attributes will be ignored.

TYPE: UserLookup

roles

List of roles assigned to the user e.g. ("account_admin")

TYPE: list[str]

workspace_access

When True, the user is allowed to have workspace access

TYPE: bool

Examples:

from laktory import models

u = models.resources.databricks.User(
    user_name="john.doe@okube.ai",
    display_name="John Doe",
    group_ids=[
        "${resources.group-role-engineer.id}",
        "${resources.group-domain-finance.id}",
    ],
    roles=["account_admin"],
)

Attributes¤

additional_core_resources property ¤

additional_core_resources
  • user roles
  • user group members

--

laktory.models.resources.databricks.user.UserLookup ¤

Bases: ResourceLookup

ATTRIBUTE DESCRIPTION
user_id

ID of the user

TYPE: str