<?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 Re: how to assign account level groups to workspace using, Terraform in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-assign-account-level-groups-to-workspace-using-terraform/m-p/92926#M38585</link>
    <description>&lt;P&gt;&lt;STRONG&gt;databricks_account_group&lt;/STRONG&gt; resource not present&amp;nbsp;&lt;BR /&gt;The provider databricks/databricks does not support resource type "databricks_account_group".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My requirement is to assign an account-level group to a workspace-level group.&lt;/P&gt;&lt;P&gt;For example, I have a group named ABC at the account level. Now, I need to use the same group at the workspace level using Terraform code.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Oct 2024 09:59:01 GMT</pubDate>
    <dc:creator>chethankumar</dc:creator>
    <dc:date>2024-10-07T09:59:01Z</dc:date>
    <item>
      <title>how to assign account level groups to workspace using, Terraform</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-assign-account-level-groups-to-workspace-using-terraform/m-p/92637#M38486</link>
      <description>&lt;P&gt;in the workspace console when I create groups it creates a source as an account,&amp;nbsp;&lt;BR /&gt;Basically, it is a account level group, But&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;provider "databricks" {
  host          = var.databricks_host
  # client_id     = ""
  # client_secret = "
  account_id = ""
  alias = "abc"
}
resource "databricks_group" "group" {
  display_name = "abc"
  provider = databricks.abc
}&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;It creates workspace level groups, &amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 11:10:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-assign-account-level-groups-to-workspace-using-terraform/m-p/92637#M38486</guid>
      <dc:creator>chethankumar</dc:creator>
      <dc:date>2024-10-03T11:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign account level groups to workspace using, Terraform</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-assign-account-level-groups-to-workspace-using-terraform/m-p/92642#M38488</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/124451"&gt;@chethankumar&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;in the workspace console when I create groups it creates a source as an account,&amp;nbsp;&lt;BR /&gt;Basically, it is a account level group, But&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;provider "databricks" {
  host          = var.databricks_host
  # client_id     = ""
  # client_secret = "
  account_id = ""
  alias = "abc"
}
resource "databricks_group" "group" {
  display_name = "abc"
  provider = databricks.abc
}&amp;lt;div&amp;gt;&amp;lt;span&amp;gt;It creates workspace level groups, &amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;It seems you are facing an issue where creating groups in Databricks results in workspace-level groups instead of the intended account-level groups. To resolve this, you need to ensure that your Terraform configuration is set up correctly. First, in the provider configuration, make sure to include the account_id, which is essential for creating account-level resources. Then, when defining the resource, instead of using databricks_group, you should use databricks_account_group to specify that you want to create an account-level group. For example, your provider block should include the host and account ID, and the resource block should be defined as databricks_account_group with the desired display name. By implementing these changes, you should be able to successfully create account-level groups. If you have further questions or need additional assistance, feel free to ask!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 12:04:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-assign-account-level-groups-to-workspace-using-terraform/m-p/92642#M38488</guid>
      <dc:creator>jennie258fitz</dc:creator>
      <dc:date>2024-10-03T12:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign account level groups to workspace using, Terraform</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-assign-account-level-groups-to-workspace-using-terraform/m-p/92926#M38585</link>
      <description>&lt;P&gt;&lt;STRONG&gt;databricks_account_group&lt;/STRONG&gt; resource not present&amp;nbsp;&lt;BR /&gt;The provider databricks/databricks does not support resource type "databricks_account_group".&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;My requirement is to assign an account-level group to a workspace-level group.&lt;/P&gt;&lt;P&gt;For example, I have a group named ABC at the account level. Now, I need to use the same group at the workspace level using Terraform code.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 09:59:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-assign-account-level-groups-to-workspace-using-terraform/m-p/92926#M38585</guid>
      <dc:creator>chethankumar</dc:creator>
      <dc:date>2024-10-07T09:59:01Z</dc:date>
    </item>
  </channel>
</rss>

