ServicePrincipal
laktory.models.resources.databricks.ServicePrincipal
¤
Bases: BaseModel
, PulumiResource
, TerraformResource
Databricks account service principal
ATTRIBUTE | DESCRIPTION |
---|---|
allow_cluster_create |
When
TYPE:
|
application_id |
This is the Azure Application ID of the given Azure service principal and will be their form of access and identity. On other clouds than Azure this value is auto-generated.
TYPE:
|
disable_as_user_deletion |
If
TYPE:
|
display_name |
Display name for the service principal
TYPE:
|
group_ids |
List of the group ids that the user should be member of. |
lookup_existing |
Specifications for looking up existing resource. Other attributes will be ignored.
TYPE:
|
roles |
List of roles assigned to the user e.g. ("account_admin") |
Examples:
from laktory import models
sp = models.resources.databricks.ServicePrincipal(
display_name="neptune",
application_id="baf147d1-a856-4de0-a570-8a56dbd7e234",
group_ids=[
"${resources.group-role-engineer.id}",
"${resources.group-role-analyst.id}",
"${resources.group-domain-finance.id}",
"${resources.group-domain-engineering.id}",
],
roles=["account_admin"],
)
ATTRIBUTE | DESCRIPTION |
---|---|
additional_core_resources |
TYPE:
|
--
laktory.models.resources.databricks.serviceprincipal.ServicePrincipalLookup
¤
Bases: ResourceLookup
ATTRIBUTE | DESCRIPTION |
---|---|
application_id |
ID of the service principal. The service principal must exist before this resource can be retrieved.
TYPE:
|