subcategory |
---|
Security |
Retrieves information about databricks_group members, entitlements and instance profiles.
Adding user to administrative group
data "databricks_group" "admins" {
display_name = "admins"
}
resource "databricks_user" "me" {
user_name = "me@example.com"
}
resource "databricks_group_member" "my_member_a" {
group_id = data.databricks_group.admins.id
member_id = databricks_user.me.id
}
Data source allows you to pick groups by the following attributes
display_name
- (Required) Display name of the group. The group must exist before this resource can be planned.recursive
- (Optional) Collect information for all nested groups. Defaults to true.
Data source exposes the following attributes:
id
- The id for the group object.members
- Set of user identifiers, that can be modified with databricks_group_member resource.groups
- Set of group identifiers, that can be modified with databricks_group_member resource.instance_profiles
- Set of instance profile ARNs, that can be modified by databricks_group_instance_profile resource.allow_cluster_create
- True if group members can create clustersallow_instance_pool_create
- True if group members can create instance pools