Skip to content

Document roles/group.assumer for group rule sets - #5924

Open
gauthamsunjay wants to merge 2 commits into
databricks:mainfrom
gauthamsunjay:docs/group-assumer-role
Open

Document roles/group.assumer for group rule sets#5924
gauthamsunjay wants to merge 2 commits into
databricks:mainfrom
gauthamsunjay:docs/group-assumer-role

Conversation

@gauthamsunjay

@gauthamsunjay gauthamsunjay commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Add the roles/group.assumer role to the documented roles for accounts/{account_id}/groups/{group_id}/ruleSets/default, and show it alongside roles/group.manager in the group rule set example. The role grants the Assume permission on a group, which underpins RBAC.

The provider passes grant_rules.role through to the API without validation, so no code change is needed.

Also fixes the group rule set example to reference the group through data.databricks_group.ds.id -- the block is declared as a data source, so the previous databricks_group.ds.id reference would not resolve.

Granting assume permission is in our customer docs - https://docs.databricks.com/aws/en/admin/users-groups/manage-groups#manage-permissions-on-a-group

Co-authored-by: Isaac

Changes

Tests

  • make test run locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • using Go SDK
  • using TF Plugin Framework
  • has entry in NEXT_CHANGELOG.md file

@gauthamsunjay
gauthamsunjay requested review from a team as code owners August 4, 2026 23:05
@gauthamsunjay
gauthamsunjay requested review from hectorcast-db and removed request for a team August 4, 2026 23:05
Add the roles/group.assumer role to the documented roles for
accounts/{account_id}/groups/{group_id}/ruleSets/default, and show it
alongside roles/group.manager in the group rule set example. The role
grants the Assume permission on a group, which underpins RBAC.

The provider passes grant_rules.role through to the API without
validation, so no code change is needed.

Also fixes the group rule set example to reference the group through
data.databricks_group.ds.id -- the block is declared as a data source,
so the previous databricks_group.ds.id reference would not resolve.

Co-authored-by: Isaac
@gauthamsunjay
gauthamsunjay force-pushed the docs/group-assumer-role branch from 2faabcd to 05d855a Compare August 5, 2026 19:02
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Unit tests

If this PR is from a fork, the tests check runs offline against a pre-warmed Go module cache because fork PRs cannot authenticate to the internal Go module proxy.

If this PR changes go.mod or go.sum, the tests check will fail until a maintainer warms the cache for it:

Actions -> Warm Go Cache -> Run workflow -> pr_number = 5924

Re-run the failed check once the cache warming completes.

Integration tests

Integration tests don't run automatically for external contributors; an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/terraform

Inputs:

  • PR number: 5924
  • Commit SHA: 05d855a5856e16ca0dd58e476479188b9b682600

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants