<?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 Asset Bundles + GitHub Actions: why does bundle deploy re-create UC schema and volume every run? in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/asset-bundles-github-actions-why-does-bundle-deploy-re-create-uc/m-p/148936#M4908</link>
    <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I’m working with &lt;STRONG&gt;Databricks Asset Bundles&lt;/STRONG&gt; and deploying via &lt;STRONG&gt;GitHub Actions&lt;/STRONG&gt; (CI/CD). I’m seeing behavior I don’t fully understand.&lt;/P&gt;&lt;P&gt;On every pipeline run (fresh &lt;STRONG&gt;git checkout/pull&lt;/STRONG&gt; and then &lt;STRONG&gt;databricks bundle deploy&lt;/STRONG&gt; to the same target environment), the deploy tries to &lt;STRONG&gt;create again&lt;/STRONG&gt; my Unity Catalog resources — specifically a &lt;STRONG&gt;schema&lt;/STRONG&gt; and a &lt;STRONG&gt;volume&lt;/STRONG&gt;. I’d expect the deployment to be mostly idempotent and only apply deltas, but it looks like it re-applies the “create” actions each time.&lt;/P&gt;&lt;P&gt;A few questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is this expected behavior for Asset Bundles (i.e., deploy always “ensures” resources exist, so it may attempt creation every run)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Does the bundle keep any &lt;STRONG&gt;state&lt;/STRONG&gt; or resource tracking across runs, or is it purely declarative each time (especially in CI like GitHub Actions)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there recommended patterns to avoid re-creating / re-attempting creation of &lt;STRONG&gt;UC schema/volume&lt;/STRONG&gt; on every deploy (e.g., separating infra from app deploy, using mode: production, structuring targets differently, etc.)?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If useful, I can share:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;a simplified databricks.yml snippet (resources + targets),&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;the relevant GitHub Actions step,&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;and the exact deploy logs/error message.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The strange thing is that also the documentation on databricks says that the resoruces into databricks.yml won't destroy the ones already created.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 20 Feb 2026 23:31:25 GMT</pubDate>
    <dc:creator>Ale_Armillotta</dc:creator>
    <dc:date>2026-02-20T23:31:25Z</dc:date>
    <item>
      <title>Asset Bundles + GitHub Actions: why does bundle deploy re-create UC schema and volume every run?</title>
      <link>https://community.databricks.com/t5/administration-architecture/asset-bundles-github-actions-why-does-bundle-deploy-re-create-uc/m-p/148936#M4908</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I’m working with &lt;STRONG&gt;Databricks Asset Bundles&lt;/STRONG&gt; and deploying via &lt;STRONG&gt;GitHub Actions&lt;/STRONG&gt; (CI/CD). I’m seeing behavior I don’t fully understand.&lt;/P&gt;&lt;P&gt;On every pipeline run (fresh &lt;STRONG&gt;git checkout/pull&lt;/STRONG&gt; and then &lt;STRONG&gt;databricks bundle deploy&lt;/STRONG&gt; to the same target environment), the deploy tries to &lt;STRONG&gt;create again&lt;/STRONG&gt; my Unity Catalog resources — specifically a &lt;STRONG&gt;schema&lt;/STRONG&gt; and a &lt;STRONG&gt;volume&lt;/STRONG&gt;. I’d expect the deployment to be mostly idempotent and only apply deltas, but it looks like it re-applies the “create” actions each time.&lt;/P&gt;&lt;P&gt;A few questions:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is this expected behavior for Asset Bundles (i.e., deploy always “ensures” resources exist, so it may attempt creation every run)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Does the bundle keep any &lt;STRONG&gt;state&lt;/STRONG&gt; or resource tracking across runs, or is it purely declarative each time (especially in CI like GitHub Actions)?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are there recommended patterns to avoid re-creating / re-attempting creation of &lt;STRONG&gt;UC schema/volume&lt;/STRONG&gt; on every deploy (e.g., separating infra from app deploy, using mode: production, structuring targets differently, etc.)?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If useful, I can share:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;a simplified databricks.yml snippet (resources + targets),&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;the relevant GitHub Actions step,&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;and the exact deploy logs/error message.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The strange thing is that also the documentation on databricks says that the resoruces into databricks.yml won't destroy the ones already created.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 23:31:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/asset-bundles-github-actions-why-does-bundle-deploy-re-create-uc/m-p/148936#M4908</guid>
      <dc:creator>Ale_Armillotta</dc:creator>
      <dc:date>2026-02-20T23:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Asset Bundles + GitHub Actions: why does bundle deploy re-create UC schema and volume every run?</title>
      <link>https://community.databricks.com/t5/administration-architecture/asset-bundles-github-actions-why-does-bundle-deploy-re-create-uc/m-p/148937#M4909</link>
      <description>&lt;P&gt;I just tried to change the schema and the deploy is ok, because the DAB creates the Volume and schema. I tried a second time and also this time is ok. I'm not understanding why before it didn' work. Not it's just for my interest&lt;/P&gt;</description>
      <pubDate>Fri, 20 Feb 2026 23:44:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/asset-bundles-github-actions-why-does-bundle-deploy-re-create-uc/m-p/148937#M4909</guid>
      <dc:creator>Ale_Armillotta</dc:creator>
      <dc:date>2026-02-20T23:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Asset Bundles + GitHub Actions: why does bundle deploy re-create UC schema and volume every run?</title>
      <link>https://community.databricks.com/t5/administration-architecture/asset-bundles-github-actions-why-does-bundle-deploy-re-create-uc/m-p/149006#M4917</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/191318"&gt;@Ale_Armillotta&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;To answer each of your questions:&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="p8i6j0a"&gt;&lt;SPAN&gt;Is this expected behavior for Asset Bundles&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI class="p8i6j0a"&gt;Yes, deploy is declarative and will attempt “create” whenever the bundle’s tracked state doesn’t already include that resource (names aren’t used to correlate).
&lt;DIV class="tk0j8o1 _1ibi0s31a _1ibi0s3dn"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;&lt;SPAN&gt;Does the bundle keep any&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;state&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;or resource tracking across runs, or is it purely declarative each time&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI class="p8i6j0a"&gt;Yes, bundles persist state in the workspace and track resources by ID. If the bundle identity or state doesn’t match across runs, it treats resources as new.
&lt;DIV class="tk0j8o1 _1ibi0s31a _1ibi0s3dn"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="p8i6j0a"&gt;&lt;SPAN&gt;Are there recommended patterns to avoid re-creating / re-attempting creation of&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;UC schema/volume&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;on every deploy&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI class="p8i6j0a"&gt;Use &lt;A href="https://docs.databricks.com/aws/en/dev-tools/cli/bundle-commands#databricks-bundle-deployment-bind" target="_self"&gt;bind&lt;/A&gt; for preexisting resources, keep a stable bundle name/target/workspace and deployer, avoid dev prefixes in CI, preview with &lt;A href="https://docs.databricks.com/aws/en/dev-tools/cli/bundle-commands#plan" target="_self"&gt;bundle plan&lt;/A&gt;, and optionally separate UC infra with lifecycle.prevent_destroy.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2026 02:23:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/asset-bundles-github-actions-why-does-bundle-deploy-re-create-uc/m-p/149006#M4917</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2026-02-23T02:23:41Z</dc:date>
    </item>
  </channel>
</rss>

