Skip to content

Commit f3951dc

Browse files
authored
Adding service principals to group documentation (#1298)
1 parent e006560 commit f3951dc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ resides. Alternatively, you can provide this value as an environment variable `A
262262

263263
There are `ARM_*` environment variables provide a way to share authentication configuration using the `databricks` provider alongside the [`azurerm` provider](https://registry.terraform.io/providers/hashicorp/azurerm/latest).
264264

265+
When a workspace is created using a service principal account, that service principal account is automatically added to the workspace as a member of the admins group. To add a new service principal account to an existing workspace, create a [databricks_service_principal](resources/service_principal.md).
266+
265267
## Miscellaneous configuration parameters
266268

267269
This section covers configuration parameters not related to authentication. They could be used when debugging problems, or do an additional tuning of provider's behaviour:

docs/resources/group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ subcategory: "Security"
33
---
44
# databricks_group Resource
55

6-
This resource allows you to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments). You can also [associate](group_member.md) Databricks users to groups. This is useful if you are using an application to sync users & groups with SCIM API.
6+
This resource allows you to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments). You can also [associate](group_member.md) Databricks users and [service principals](service_principal.md) to groups. This is useful if you are using an application to sync users & groups with SCIM API.
77

88
Recommended to use along with Identity Provider SCIM provisioning to populate users into those groups:
99

docs/resources/group_member.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "databricks_group_member" "bb" {
3838
The following arguments are supported:
3939

4040
* `group_id` - (Required) This is the id of the [group](group.md) resource.
41-
* `member_id` - (Required) This is the id of the [group](group.md) or [user](user.md).
41+
* `member_id` - (Required) This is the id of the [group](group.md), [service principal](service_principal.md), or [user](user.md).
4242

4343
## Attribute Reference
4444

@@ -59,6 +59,7 @@ The following resources are often used in the same context:
5959
* [databricks_group](../data-sources/group.md) data to retrieve information about [databricks_group](group.md) members, entitlements and instance profiles.
6060
* [databricks_group_instance_profile](group_instance_profile.md) to attach [databricks_instance_profile](instance_profile.md) (AWS) to [databricks_group](group.md).
6161
* [databricks_ip_access_list](ip_access_list.md) to allow access from [predefined IP ranges](https://docs.databricks.com/security/network/ip-access-list.html).
62+
* [databricks_service_principal](service_principal.md) to grant access to a workspace to an automation tool or application.
6263
* [databricks_user](user.md) to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to [databricks_group](group.md) within the workspace.
6364
* [databricks_user](../data-sources/user.md) data to retrieves information about [databricks_user](user.md).
6465
* [databricks_user_instance_profile](user_instance_profile.md) to attach [databricks_instance_profile](instance_profile.md) (AWS) to [databricks_user](user.md).

0 commit comments

Comments
 (0)