Skip to content

GroupRole

laktory.models.resources.databricks.GroupRole ยค

Bases: GroupRoleBase

Databricks Group Role

Examples:

import io

from laktory import models

role_yaml = '''
group_id: ${resources.group-admins.id}
role: account_admin
'''
role = models.resources.databricks.GroupRole.model_validate_yaml(
    io.StringIO(role_yaml)
)
References
BASE DESCRIPTION
api

Specifies whether to use account-level or workspace-level API. Valid values are account and workspace. When not set, the API level is inferred from the provider host

TYPE: str | None | VariableType DEFAULT: None

group_id

This is the id of the group resource

TYPE: str | VariableType

role

Either a role name or the ARN/ID of the instance profile resource

TYPE: str | VariableType