Skip to content

CurrentUser

laktory.models.resources.databricks.CurrentUser ¤

Bases: BaseModel, TerraformResource

Databricks Current User data source. Returns the identity of the authenticated user or service principal making API calls.

databricks_current_user only exists as a Terraform data source (there is no corresponding resource type to "create" the current user), so unlike other resources, lookup_existing defaults to always-on and doesn't need to be set explicitly.

Examples:

import io

from laktory import models

current_user = models.resources.databricks.CurrentUser.model_validate_yaml(
    io.StringIO("{}")
)
References

laktory.models.resources.databricks.currentuser.CurrentUserLookup ¤