You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DOCS] added example of granting Account Admin role to a service principal (#4807)
## Changes
<!-- Summary of your changes that are easy to understand -->
This PR makes changes to docs only, no code changes. The
`databricks_service_principal_role` is capable of giving account admin
role to a service principal; however, this was not very clear in the
docs whereas we do have an example given in `databricks_user_role` for
users.
I added an example demonstrating this capability of setting `role =
"account_admin"` and a note that it can only be used with an
account-level provider.
## Tests
<!--
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->
- [X] relevant change in `docs/` folder
Copy file name to clipboardExpand all lines: NEXT_CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
* Document `tags` attribute in `databricks_pipeline` resource ([#4783](https://github.com/databricks/terraform-provider-databricks/pull/4783)).
21
21
* Recommend OAuth instead of PAT in guides ([#4787](https://github.com/databricks/terraform-provider-databricks/pull/4787))
22
22
* Document new options in `databricks_model_serving` resource ([#4789](https://github.com/databricks/terraform-provider-databricks/pull/4789))
23
+
* Added example of granting Account Admin role with `databricks_service_principal_role` resource ([#4807](https://github.com/databricks/terraform-provider-databricks/pull/4807))
*`service_principal_id` - (Required) This is the id of the [service principal](service_principal.md) resource.
34
-
*`role` - (Required) This is the id of the role or [instance profile](instance_profile.md) resource.
49
+
*`role` - (Required) This is the role name, role id, or [instance profile](instance_profile.md) resource.
35
50
36
51
## Attribute Reference
37
52
@@ -52,3 +67,4 @@ The following resources are often used in the same context:
52
67
*[databricks_group_instance_profile](group_instance_profile.md) to attach [databricks_instance_profile](instance_profile.md) (AWS) to [databricks_group](group.md).
53
68
*[databricks_group_member](group_member.md) to attach [users](user.md) and [groups](group.md) as group members.
54
69
*[databricks_instance_profile](instance_profile.md) to manage AWS EC2 instance profiles that users can launch [databricks_cluster](cluster.md) and access data, like [databricks_mount](mount.md).
70
+
*[databricks_access_control_rule_set](access_control_rule_set.md#grant_rules) to attach other roles to account level resources.
0 commit comments