<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Group manage permission using terraform in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/group-manage-permission-using-terraform/m-p/163620#M5449</link>
    <description>&lt;P&gt;I am creating groups in databricks using terraform. The service principal used to create these groups automatically get Manage permission on respective groups, but I want to assign this manage permission on all groups to one specific admin group. I can't find the terraform module to do that. Please let me know if there is one and if there isn't then what could be workaround in terraform.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2026 14:48:38 GMT</pubDate>
    <dc:creator>eshwari</dc:creator>
    <dc:date>2026-07-21T14:48:38Z</dc:date>
    <item>
      <title>Group manage permission using terraform</title>
      <link>https://community.databricks.com/t5/administration-architecture/group-manage-permission-using-terraform/m-p/163620#M5449</link>
      <description>&lt;P&gt;I am creating groups in databricks using terraform. The service principal used to create these groups automatically get Manage permission on respective groups, but I want to assign this manage permission on all groups to one specific admin group. I can't find the terraform module to do that. Please let me know if there is one and if there isn't then what could be workaround in terraform.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 14:48:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/group-manage-permission-using-terraform/m-p/163620#M5449</guid>
      <dc:creator>eshwari</dc:creator>
      <dc:date>2026-07-21T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Group manage permission using terraform</title>
      <link>https://community.databricks.com/t5/administration-architecture/group-manage-permission-using-terraform/m-p/163631#M5453</link>
      <description>&lt;P&gt;You can add a post Terraform step in the process for it. You can use the Group Manager role assigned for the members in it if feasible. It helps in management of group membership. You can do it in Account Console or Workspace Admin Settings page manually.&lt;/P&gt;&lt;P&gt;You can also do it using Account Access Control &lt;STRONG&gt;Interfaces&lt;/STRONG&gt; in the &lt;STRONG&gt;post terraform step&lt;/STRONG&gt;.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;resource "databricks_group" "groups" {
  for_each     = toset(["group1", "group2"])
  display_name = each.value
}

resource "null_resource" "assign_group_managers" {
  for_each = databricks_group.groups

  provisioner "local-exec" {
    command = &amp;lt;&amp;lt;EOT
      curl -X POST \
        "${var.workspace_url}/api/2.0/preview/accounts/access-control/assignable-roles" \
        -H "Authorization: Bearer ${var.databricks_token}" \
        -H "Content-Type: application/json" \
        -d '{
          "principal": "${var.admin_group_id}",
          "role": "roles/group.manager",
          "resource": "groups/${each.value.id}"
        }'
    EOT
  }

  depends_on = [databricks_group.groups]
}&lt;/LI-CODE&gt;&lt;P&gt;Note it works only with account level groups and it's in &lt;STRONG&gt;public preview&lt;/STRONG&gt;.&amp;nbsp;More details &lt;A href="https://docs.databricks.com/aws/en/admin/users-groups/groups#who-can-manage-groups" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 16:43:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/group-manage-permission-using-terraform/m-p/163631#M5453</guid>
      <dc:creator>balajij8</dc:creator>
      <dc:date>2026-07-21T16:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Group manage permission using terraform</title>
      <link>https://community.databricks.com/t5/administration-architecture/group-manage-permission-using-terraform/m-p/163635#M5454</link>
      <description>&lt;P&gt;Group manager is not a permission in `databricks_permissions`, it is an account-level role, and the resource that assigns those roles is `databricks_access_control_rule_set`.&lt;/P&gt;&lt;P&gt;If you want your admin group to manage every group in the account, including ones created later, a single account-level rule set covers it:&lt;/P&gt;&lt;P&gt;```hcl&lt;/P&gt;&lt;P&gt;data "databricks_group" "admins" {&lt;/P&gt;&lt;P&gt;display_name = "my-admin-group"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;resource "databricks_access_control_rule_set" "account" {&lt;/P&gt;&lt;P&gt;name = "accounts/${var.account_id}/ruleSets/default"&lt;/P&gt;&lt;P&gt;grant_rules {&lt;/P&gt;&lt;P&gt;principals = [data.databricks_group.admins.acl_principal_id]&lt;/P&gt;&lt;P&gt;role = "roles/group.manager"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;If you would rather scope it to just the groups your Terraform creates, the same resource works per group with a `for_each`, using `name = "accounts/${var.account_id}/groups/${each.value.id}/ruleSets/default"` and the same grant rule.&lt;/P&gt;&lt;P&gt;One thing to know before you apply, this resource is authoritative, so each apply replaces the whole rule set it names. Keep all grants for a given rule set path in one resource (two resources on the same name overwrite each other), and if roles were already assigned outside Terraform, import the rule set or re-declare those grants, because an apply that doesn't include them removes them. It works with either a workspace-level or account-level provider; the docs page has examples for both. The creating SP's implicit manager access is separate and stays either way; this just adds the explicit assignment you want.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 17:10:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/group-manage-permission-using-terraform/m-p/163635#M5454</guid>
      <dc:creator>binlogreader</dc:creator>
      <dc:date>2026-07-21T17:10:22Z</dc:date>
    </item>
  </channel>
</rss>

