<?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: Provisioning Unity Metastore for each environment using Terraform in Data Governance</title>
    <link>https://community.databricks.com/t5/data-governance/provisioning-unity-metastore-for-each-environment-using/m-p/41521#M1175</link>
    <description>&lt;P&gt;Ask and ye shall receive:&amp;nbsp;&lt;A href="https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.24.0" target="_blank"&gt;https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.24.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;They've implemented account-level UC API in terraform now!&lt;/P&gt;</description>
    <pubDate>Fri, 25 Aug 2023 13:55:46 GMT</pubDate>
    <dc:creator>Corbin</dc:creator>
    <dc:date>2023-08-25T13:55:46Z</dc:date>
    <item>
      <title>Provisioning Unity Metastore for each environment using Terraform</title>
      <link>https://community.databricks.com/t5/data-governance/provisioning-unity-metastore-for-each-environment-using/m-p/39504#M1137</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Unity Metastore can currently only be provisioned once for each Azure region. I have three environments in Azure each consisting of a separate Subscription and Resource Group (RG). Each RG contains a Databricks Workspace and a Storage Account holding data. This setup is provisioned using Terraform and each environment has its' own state file. Thus I would like to provision a Unity Metastore for each environment, which is not possible&lt;SPAN&gt;, since there can only be one metastore per region. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This means that only one of my environments can provision the Unity Metastore which will lead to my Terraform code being a huge mess as it should be environment aware. E.g. when running Terraform for the dev environment it would create the metastore and when running for production it would import the metastore as a Terraform data source (or vice versa).&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What do others do to handle this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 08:56:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/provisioning-unity-metastore-for-each-environment-using/m-p/39504#M1137</guid>
      <dc:creator>mathiaskvist</dc:creator>
      <dc:date>2023-08-10T08:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Provisioning Unity Metastore for each environment using Terraform</title>
      <link>https://community.databricks.com/t5/data-governance/provisioning-unity-metastore-for-each-environment-using/m-p/39530#M1142</link>
      <description>&lt;P&gt;You're not wrong. How you've described it is currently the only way to do it with TF. This should be resolved once the account-level API for UC is incorporated into TF (see &lt;A href="https://github.com/databricks/terraform-provider-databricks/pull/2182" target="_self"&gt;PR here&lt;/A&gt;). Then you'd have 4 statefiles, 1 for account-level tf state and 3 for dev/test/prod. Until that day, you're correct that you need to create in one and reference in the others. Quite clunky and definitely looking forward to account-level UC API integrated into TF.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 16:13:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/provisioning-unity-metastore-for-each-environment-using/m-p/39530#M1142</guid>
      <dc:creator>Corbin</dc:creator>
      <dc:date>2023-08-10T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Provisioning Unity Metastore for each environment using Terraform</title>
      <link>https://community.databricks.com/t5/data-governance/provisioning-unity-metastore-for-each-environment-using/m-p/41521#M1175</link>
      <description>&lt;P&gt;Ask and ye shall receive:&amp;nbsp;&lt;A href="https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.24.0" target="_blank"&gt;https://github.com/databricks/terraform-provider-databricks/releases/tag/v1.24.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;They've implemented account-level UC API in terraform now!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 13:55:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-governance/provisioning-unity-metastore-for-each-environment-using/m-p/41521#M1175</guid>
      <dc:creator>Corbin</dc:creator>
      <dc:date>2023-08-25T13:55:46Z</dc:date>
    </item>
  </channel>
</rss>

