<?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: Can Terraform be used to set configurations in Admin / workspace settings? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14843#M9268</link>
    <description>&lt;P&gt;@Jose Gonzalez​&amp;nbsp; @Ravirahul Padmanabhan​&amp;nbsp; &lt;/P&gt;&lt;P&gt;It doesn't solve all the requested permissions. But this already helps for now.&lt;/P&gt;&lt;P&gt;Would you be able to add that example terraform to the terraform provider documentation? or is there any webpage that lists all the existing customizable configs?&lt;/P&gt;&lt;P&gt;It certainly would be better to be able to control this via Terraform.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 19:32:58 GMT</pubDate>
    <dc:creator>Ricardo_Gaspar</dc:creator>
    <dc:date>2021-11-11T19:32:58Z</dc:date>
    <item>
      <title>Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14836#M9261</link>
      <description>&lt;P&gt;I am posting this on behalf of my customer. They are currently working on the deployment &amp;amp; config&amp;nbsp;of their workspace on AWS via Terraform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to set some configs in the Admin/workspace settings via TF? According to the Terraform module, it isn’t.&lt;/P&gt;&lt;P&gt;&lt;A href="https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/workspace_conf#custom_config" alt="https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/workspace_conf#custom_config" target="_blank"&gt;https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/workspace_conf#custom_config&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The config settings we would like to automate are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Access Control&lt;UL&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;Table access control&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Configure&amp;nbsp;&lt;I&gt;Personal Access Tokens &lt;/I&gt;to grant&amp;nbsp;&lt;I&gt;all users&lt;/I&gt; &lt;I&gt;Can use&lt;/I&gt;&amp;nbsp;access&lt;/LI&gt;&lt;LI&gt;Cluster&lt;UL&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;Cluster Container Services&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;EBS SSD gp3&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Advanced&lt;UL&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;Web terminal&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;DBFS file browser&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 22:46:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14836#M9261</guid>
      <dc:creator>nicole_wong</dc:creator>
      <dc:date>2021-09-22T22:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14838#M9263</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​&amp;nbsp;! Following up on this question for my customer. I just recently learned that all of the config settings mentioned above can be accessed via our APIs. I'm not very familiar with Terraform, what additional information would be needed to enable TF to set those configurations via the APIs? Is this possible? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 17:08:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14838#M9263</guid>
      <dc:creator>nicole_wong</dc:creator>
      <dc:date>2021-09-27T17:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14840#M9265</link>
      <description>&lt;P&gt;Hi @Nicole Wong​&amp;nbsp;, can you try below options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Access Control&lt;UL&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;Table access control &lt;U&gt;could not find a feature flag  to enable this config via TF. Will update if I could find one.&lt;/U&gt;&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Configure&amp;nbsp;&lt;I&gt;Personal Access Tokens&amp;nbsp;&lt;/I&gt;to grant&amp;nbsp;&lt;I&gt;all users&lt;/I&gt;&amp;nbsp;&lt;I&gt;Can use&lt;/I&gt;&amp;nbsp;access &lt;U&gt;we can achieve this using &lt;A href="https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/permissions#token-usage" target="test_blank"&gt;https://registry.terraform.io/providers/databrickslabs/databricks/latest/docs/resources/permissions#token-usage&lt;/A&gt; &lt;/U&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;resource "databricks_permissions" "token_usage" {
    authorization = "tokens"
&amp;nbsp;
    access_control {
        group_name = "&amp;lt;groupname&amp;gt;"
        permission_level = "CAN_USE"
    }
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Cluster&lt;UL&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;Cluster Container Services &lt;U&gt;can be enabled via "&lt;/U&gt;&lt;/I&gt;enableDcs&lt;I&gt;&lt;U&gt;" custom_config &lt;/U&gt;&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;EBS SSD gp3 &lt;U&gt;can be enabled via "enableGp3" custom_config &lt;/U&gt;&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Advanced&lt;UL&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;Web terminal &lt;U&gt;can be enabled via "enableWebTerminal" custom_config &lt;/U&gt;&lt;/I&gt;&lt;/LI&gt;&lt;LI&gt;enable&amp;nbsp;&lt;I&gt;DBFS file browser &lt;U&gt;can be enabled via "enableDbfsFileBrowser" custom_config &lt;/U&gt;&lt;/I&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&lt;CODE&gt;resource "databricks_workspace_conf" "this" {
  custom_config = {
    "enableWebTerminal" : true,
    "enableGp3" : true,
    "enableDbfsFileBrowser" : true,
    "enableDcs" : true
  }
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;To achieve the same via API we can use below curl:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;curl --location --request PATCH 'https://test.cloud.databricks.com/api/2.0/workspace-conf' \
--header 'Authorization: Bearer REPLACE_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
    "enableWebTerminal": "true",
    "enableGp3": "true",
    "enableDbfsFileBrowser": "true",
    "enableDcs": "true"
}'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Oct 2021 22:39:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14840#M9265</guid>
      <dc:creator>Ravi</dc:creator>
      <dc:date>2021-10-06T22:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14841#M9266</link>
      <description>&lt;P&gt;Thanks @Ravirahul Padmanabhan​&amp;nbsp;we are going to try it out and come back to you if there are any questions.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 16:13:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14841#M9266</guid>
      <dc:creator>Ricardo_Gaspar</dc:creator>
      <dc:date>2021-10-11T16:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14842#M9267</link>
      <description>&lt;P&gt;Hi @Ricardo Gaspar​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did Ravi's fully answered your question, would you be happy to mark their answer as best so that others can quickly find the solution?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 22:44:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14842#M9267</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2021-10-29T22:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14843#M9268</link>
      <description>&lt;P&gt;@Jose Gonzalez​&amp;nbsp; @Ravirahul Padmanabhan​&amp;nbsp; &lt;/P&gt;&lt;P&gt;It doesn't solve all the requested permissions. But this already helps for now.&lt;/P&gt;&lt;P&gt;Would you be able to add that example terraform to the terraform provider documentation? or is there any webpage that lists all the existing customizable configs?&lt;/P&gt;&lt;P&gt;It certainly would be better to be able to control this via Terraform.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 19:32:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14843#M9268</guid>
      <dc:creator>Ricardo_Gaspar</dc:creator>
      <dc:date>2021-11-11T19:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14845#M9270</link>
      <description>&lt;P&gt;Any update for "enable&amp;nbsp;&lt;I&gt;Table access control&lt;/I&gt;" from TF?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 04:45:02 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14845#M9270</guid>
      <dc:creator>Vaaceph</dc:creator>
      <dc:date>2022-06-28T04:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14846#M9271</link>
      <description>&lt;P&gt;"Table access control" workspace config is not supported via Databricks Terraform provider.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 17:56:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14846#M9271</guid>
      <dc:creator>Ravi</dc:creator>
      <dc:date>2022-06-30T17:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14847#M9272</link>
      <description>&lt;P&gt;okay. that is sad &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 04:26:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14847#M9272</guid>
      <dc:creator>Vaaceph</dc:creator>
      <dc:date>2022-07-06T04:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14848#M9273</link>
      <description>&lt;P&gt;Hi, can I get a full list of the latest configurable supported workspace_conf on tf, I can't find the list on tf registry site.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 05:13:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14848#M9273</guid>
      <dc:creator>francly</dc:creator>
      <dc:date>2022-08-11T05:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can Terraform be used to set configurations in Admin / workspace settings?</title>
      <link>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14849#M9274</link>
      <description>&lt;P&gt;I had the same problem and couldn't find this anywhere, except in the source code for databricks-cli at PowerShell:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.powershellgallery.com/packages/DatabricksPS/1.11.0.8/Content/Public%5CWorkspaceConfig.ps1" target="test_blank"&gt;https://www.powershellgallery.com/packages/DatabricksPS/1.11.0.8/Content/Public%5CWorkspaceConfig.ps1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps someone else too.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 11:17:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/can-terraform-be-used-to-set-configurations-in-admin-workspace/m-p/14849#M9274</guid>
      <dc:creator>maiconbaum</dc:creator>
      <dc:date>2023-04-13T11:17:27Z</dc:date>
    </item>
  </channel>
</rss>

