<?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: Get resource permissions using terraform in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/153113#M5109</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/69634"&gt;@fkseki&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There isn’t a data "databricks_permissions" (or similar) in the Databricks Terraform, only the databricks_permissions resource, and that resource is authoritative for the full ACL of the object.&amp;nbsp;That means Terraform can’t read the current permissions and append another during a plan.&lt;/P&gt;
&lt;P&gt;Your options are to make Terraform the source of truth by using&amp;nbsp;the Permissions API / Databricks CLI (or the Terraform exporter) once to pull the current ACL for the object and turn that into a databricks_permissions resource. You can then, whenever you want to append a permission, add another access_control block to that resource and terraform apply. Terraform manages the entire ACL declaratively.&lt;/P&gt;
&lt;P&gt;Alternatively, you can manage ACLs outside Terraform by skipping&amp;nbsp;databricks_permissions for that object and instead call the Permissions API or CLI directly (e.g., using PATCH where supported) to add/remove principals.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Apr 2026 21:59:46 GMT</pubDate>
    <dc:creator>Ashwin_DSA</dc:creator>
    <dc:date>2026-04-02T21:59:46Z</dc:date>
    <item>
      <title>Get resource permissions using terraform</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/152958#M5098</link>
      <description>&lt;P&gt;Is there a way to retrieve resources (cluster, job, volume, catalog and all other objects) permissions?&lt;/P&gt;&lt;P&gt;On terraform docs there's a resource databricks_permissions but I didn't find a data source databricks_permissions, grants ou similar.&lt;/P&gt;&lt;P&gt;How can I get current resource permissions so I can "append" a new permission to the resource?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 20:13:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/152958#M5098</guid>
      <dc:creator>fkseki</dc:creator>
      <dc:date>2026-04-01T20:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get resource permissions using terraform</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/153021#M5104</link>
      <description>&lt;P&gt;Adding some info, I understand that the "import" functionality is not the way to go because I couldn't use it's return to add or remove principals to the resource's permission&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 12:32:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/153021#M5104</guid>
      <dc:creator>fkseki</dc:creator>
      <dc:date>2026-04-02T12:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get resource permissions using terraform</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/153113#M5109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/69634"&gt;@fkseki&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;There isn’t a data "databricks_permissions" (or similar) in the Databricks Terraform, only the databricks_permissions resource, and that resource is authoritative for the full ACL of the object.&amp;nbsp;That means Terraform can’t read the current permissions and append another during a plan.&lt;/P&gt;
&lt;P&gt;Your options are to make Terraform the source of truth by using&amp;nbsp;the Permissions API / Databricks CLI (or the Terraform exporter) once to pull the current ACL for the object and turn that into a databricks_permissions resource. You can then, whenever you want to append a permission, add another access_control block to that resource and terraform apply. Terraform manages the entire ACL declaratively.&lt;/P&gt;
&lt;P&gt;Alternatively, you can manage ACLs outside Terraform by skipping&amp;nbsp;databricks_permissions for that object and instead call the Permissions API or CLI directly (e.g., using PATCH where supported) to add/remove principals.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P class="p1"&gt;&lt;FONT size="2" color="#FF6600"&gt;&lt;STRONG&gt;&lt;I&gt;If this answer resolves your question, could you mark it as “Accept as Solution”? That helps other users quickly find the correct fix.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2026 21:59:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/153113#M5109</guid>
      <dc:creator>Ashwin_DSA</dc:creator>
      <dc:date>2026-04-02T21:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get resource permissions using terraform</title>
      <link>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/153647#M5121</link>
      <description>&lt;P&gt;Hi Ashwin, thanks for the reply&lt;/P&gt;&lt;P&gt;Is it on the roadmap to have a "data databricks_permission" in the future?&lt;/P&gt;&lt;P&gt;We are using terraform to provide the users a self service platform so they can create resources (clusters, volumes, external location, connections, etc) in a controled way using only terraform and this would be essential for a good user experience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2026 17:47:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/get-resource-permissions-using-terraform/m-p/153647#M5121</guid>
      <dc:creator>fkseki</dc:creator>
      <dc:date>2026-04-07T17:47:08Z</dc:date>
    </item>
  </channel>
</rss>

