<?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: Declarative Automation Bundle - How to handle Managed resources? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166361#M55571</link>
    <description>&lt;P&gt;This is a very valid concern. My preference would be to separate **application/workload lifecycle** from **persistent data lifecycle**.&lt;/P&gt;&lt;P&gt;I would use DABs primarily for resources such as Jobs, Lakeflow pipelines, notebooks, dashboards, and other application-level resources. For production catalogs, schemas, external locations, and long-lived volumes containing business data, I would generally manage them through a separate infrastructure/IaC layer.&lt;/P&gt;&lt;P&gt;`lifecycle.prevent_destroy: true` provides an important safeguard for bundle-managed schemas and volumes, but I would not rely on that as the only production protection.&lt;/P&gt;&lt;P&gt;A simple rule I would follow is:&lt;/P&gt;&lt;P&gt;**If the resource should survive even when the application is removed, the application bundle probably should not own its lifecycle.**&lt;/P&gt;&lt;P&gt;For dev/test, having the bundle own schemas or temporary managed volumes can be very useful because the environment is intentionally disposable.&lt;/P&gt;&lt;P&gt;For production, I would prefer:&lt;/P&gt;&lt;P&gt;Platform/IaC → Catalogs, Schemas, External Locations, Persistent Volumes&lt;BR /&gt;DAB → Code, Jobs, Pipelines, Application Resources&lt;/P&gt;&lt;P&gt;For critical landing/raw data, I would also lean toward external volumes so the underlying cloud storage is not deleted when UC metadata is removed.&lt;/P&gt;&lt;P&gt;Curious if others are following a similar separation between platform infrastructure and DAB-managed application resources.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Aug 2026 22:04:06 GMT</pubDate>
    <dc:creator>amitsharma1707</dc:creator>
    <dc:date>2026-08-24T22:04:06Z</dc:date>
    <item>
      <title>Declarative Automation Bundle - How to handle Managed resources?</title>
      <link>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166356#M55570</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'm making a new repo from scratch to make it as DAB-compatible as possible. I was considering using DAB for the creation/management of resources such as schemas and volumes.. however, a concern crossed my mind. If these resources are MANAGED, then if someone were to run the command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;databricks bundle destroy&lt;/LI-CODE&gt;&lt;P&gt;This would be a huge risk if this automatically deletes all of the underlying data.&lt;/P&gt;&lt;P&gt;I'm curious to ask, based on this community what is the suggested practice for using (or not using) DABs for schemas/volumes? Below is a possible example of our volume data being MANAGED:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristianRRL_0-1787603890125.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/30231i5549C5ED42E2D86A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChristianRRL_0-1787603890125.png" alt="ChristianRRL_0-1787603890125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 20:39:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166356#M55570</guid>
      <dc:creator>ChristianRRL</dc:creator>
      <dc:date>2026-08-24T20:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Declarative Automation Bundle - How to handle Managed resources?</title>
      <link>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166361#M55571</link>
      <description>&lt;P&gt;This is a very valid concern. My preference would be to separate **application/workload lifecycle** from **persistent data lifecycle**.&lt;/P&gt;&lt;P&gt;I would use DABs primarily for resources such as Jobs, Lakeflow pipelines, notebooks, dashboards, and other application-level resources. For production catalogs, schemas, external locations, and long-lived volumes containing business data, I would generally manage them through a separate infrastructure/IaC layer.&lt;/P&gt;&lt;P&gt;`lifecycle.prevent_destroy: true` provides an important safeguard for bundle-managed schemas and volumes, but I would not rely on that as the only production protection.&lt;/P&gt;&lt;P&gt;A simple rule I would follow is:&lt;/P&gt;&lt;P&gt;**If the resource should survive even when the application is removed, the application bundle probably should not own its lifecycle.**&lt;/P&gt;&lt;P&gt;For dev/test, having the bundle own schemas or temporary managed volumes can be very useful because the environment is intentionally disposable.&lt;/P&gt;&lt;P&gt;For production, I would prefer:&lt;/P&gt;&lt;P&gt;Platform/IaC → Catalogs, Schemas, External Locations, Persistent Volumes&lt;BR /&gt;DAB → Code, Jobs, Pipelines, Application Resources&lt;/P&gt;&lt;P&gt;For critical landing/raw data, I would also lean toward external volumes so the underlying cloud storage is not deleted when UC metadata is removed.&lt;/P&gt;&lt;P&gt;Curious if others are following a similar separation between platform infrastructure and DAB-managed application resources.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2026 22:04:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166361#M55571</guid>
      <dc:creator>amitsharma1707</dc:creator>
      <dc:date>2026-08-24T22:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Declarative Automation Bundle - How to handle Managed resources?</title>
      <link>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166377#M55576</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Be cautious about managing production schemas/volumes through DABs. Keep the critical data lifecycle separate from &lt;/SPAN&gt;&lt;SPAN&gt;bundle destroy&lt;/SPAN&gt;&lt;SPAN&gt;, and test the destroy behavior in a non-prod workspace first.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 04:48:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166377#M55576</guid>
      <dc:creator>cartergray70543</dc:creator>
      <dc:date>2026-08-25T04:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Declarative Automation Bundle - How to handle Managed resources?</title>
      <link>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166473#M55592</link>
      <description>&lt;P&gt;I think this makes sense. Quick follow-up question. For Platform/IaC, what do you use/recommend? And would you have this in the same repository as the DAB-based logic, or separate repository?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Aug 2026 20:18:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166473#M55592</guid>
      <dc:creator>ChristianRRL</dc:creator>
      <dc:date>2026-08-25T20:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Declarative Automation Bundle - How to handle Managed resources?</title>
      <link>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166502#M55596</link>
      <description>&lt;P&gt;Good point managed schemas/volumes need extra caution with bundle destroy. I’d avoid managing production data resources directly through DABs, or use safeguards to prevent accidental deletion.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2026 07:24:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/declarative-automation-bundle-how-to-handle-managed-resources/m-p/166502#M55596</guid>
      <dc:creator>mancy34</dc:creator>
      <dc:date>2026-08-26T07:24:15Z</dc:date>
    </item>
  </channel>
</rss>

