Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 2.06 KB

File metadata and controls

45 lines (32 loc) · 2.06 KB
subcategory
Security

databricks_group Data Source

-> Note If you have a fully automated setup with workspaces created by databricks_mws_workspaces or azurerm_databricks_workspace, please make sure to add depends_on attribute in order to prevent authentication is not configured for provider errors.

Retrieves information about databricks_group members, entitlements and instance profiles.

Example Usage

Adding user to administrative group

data "databricks_group" "admins" {
    display_name = "admins"
}

resource "databricks_user" "me" {
  user_name    = "[email protected]"
}

resource "databricks_group_member" "my_member_a" {
  group_id = data.databricks_group.admins.id
  member_id = databricks_user.me.id
}

Argument Reference

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.

Attribute Reference

Data source exposes the following attributes: