<?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: Databricks Asset Bundles fails deploy but works on the GUI with same parameters in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-fails-deploy-but-works-on-the-gui-with/m-p/133775#M49921</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/119590"&gt;@LeoRickli&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are you setting apply_policy_default_values?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A class="c-link" href="https://docs.databricks.com/en/administration-guide/clusters/policies.html#:~:text=Default%20values%20don't%20automatically,not%20needed%20for%20fixed%20policies" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/en/administration-guide/clusters/policies.html#:~:text=Default%20values%20don't%20automatically,not%20needed%20for%20fixed%20policies" data-sk="tooltip_parent" aria-describedby="sk-tooltip-42669"&gt;https://docs.databricks.com/en/administration-guide/clusters/policies.html#:~:text=Default%20values%20don't%20automatically,not%20needed%20for%20fixed%20policies&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After you update a policy's definitions, the compute resources created using that policy aren't automatically updated with the new policy definitions. You can choose to update all or some of these compute resources using policy compliance enforcement. See&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/admin/clusters/policies#compliance" target="_blank"&gt;Enforce policy compliance&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Oct 2025 06:22:22 GMT</pubDate>
    <dc:creator>NandiniN</dc:creator>
    <dc:date>2025-10-04T06:22:22Z</dc:date>
    <item>
      <title>Databricks Asset Bundles fails deploy but works on the GUI with same parameters</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-fails-deploy-but-works-on-the-gui-with/m-p/126560#M47717</link>
      <description>&lt;P&gt;I'm running into an issue when running databricks bundle deploy when using job clusters.&lt;/P&gt;&lt;P&gt;When I run databricks bundle deploy on a new workspace or after destroying previous resources, the deployment fails with the error: &lt;STRONG&gt;Error: cannot update job: At least one EBS volume must be attached for clusters created with node type m8g.xlarge.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This error occurs even though the cluster configuration in my jobs.yml file correctly specifies EBS volumes under aws_attributes, as shown below.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;- job_cluster_key: process_to_bronze_cluster
  new_cluster:
    spark_version: 17.0.x-scala2.13
    aws_attributes:
      first_on_demand: 1
      availability: SPOT_WITH_FALLBACK
      instance_profile_arn: &amp;lt;instance_profile&amp;gt;
      spot_bid_price_percent: 100
      ebs_volume_type: GENERAL_PURPOSE_SSD
      ebs_volume_count: 3
      ebs_volume_size: 100
    node_type_id: m8g.large
    driver_node_type_id: m8g.xlarge # This in particular is triggering the error
    data_security_mode: SINGLE_USER
    runtime_engine: PHOTON
    autoscale:
      min_workers: 1
      max_workers: 4&lt;/LI-CODE&gt;&lt;P&gt;I don't think it's an issue isolated with the node type but rather a but where it's not detecting the EBS volume attached to this node type. But we have two weird things:&lt;BR /&gt;&lt;BR /&gt;1. I copied this job as a yaml from the Databricks GUI and it's working there fine.&lt;BR /&gt;2. This is my second job inside the&amp;nbsp;jobs.yml file. If I comment-out this job and use&amp;nbsp;databricks bundle deploy it will deploy only the first job. Then if I uncomment the second job and deploy, it will work!&lt;BR /&gt;&lt;BR /&gt;So these two factors are clearly learning towards a bug on DABs, right? What is the workaround that I could do so I wait for a fix on this one?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 10:34:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-fails-deploy-but-works-on-the-gui-with/m-p/126560#M47717</guid>
      <dc:creator>LeoRickli</dc:creator>
      <dc:date>2025-07-27T10:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundles fails deploy but works on the GUI with same parameters</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-fails-deploy-but-works-on-the-gui-with/m-p/133664#M49897</link>
      <description>&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;Here are workarounds you can use until a fix is provided:&lt;/P&gt;
&lt;UL class="marker:text-quiet list-disc"&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Deploy Jobs Separately:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Deploy the first job using DAB, then uncomment and deploy the second one as you found works. This avoids the conflict encountered when both are deployed together.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Force Resource Recreation:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Use flags or settings (such as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;CODE&gt;--force&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;deploy or explicit destroy-and-redeploy) to trigger full resource recreation, which sometimes sidesteps YAML parsing bugs.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Check for DAB Updates:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Monitor DAB releases and upgrade promptly, since Databricks is actively patching bundle logic, especially around cluster resource diffing in multi-job bundles.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Consistent EBS Specification:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Explicitly specify identical EBS config blocks for both driver and worker nodes, even if redundant, to avoid edge case parsing issues (though YAML should not require this, it can help with bugs).&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Manual Management:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;As last resort, create job clusters manually via GUI for jobs that hit this error, then use DAB only for jobs that do not trigger the bug.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI class="py-0 my-0 prose-p:pt-0 prose-p:mb-2 prose-p:my-0 [&amp;amp;&amp;gt;p]:pt-0 [&amp;amp;&amp;gt;p]:mb-2 [&amp;amp;&amp;gt;p]:my-0"&gt;
&lt;P class="my-2 [&amp;amp;+p]:mt-4 [&amp;amp;_strong:has(+br)]:inline-block [&amp;amp;_strong:has(+br)]:pb-2"&gt;&lt;STRONG&gt;Simplified Removal:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Temporarily switch your jobs.yml to use only worker node types for both driver and worker, if possible, then revert to your preferred config once the bug is patched.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 03 Oct 2025 11:10:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-fails-deploy-but-works-on-the-gui-with/m-p/133664#M49897</guid>
      <dc:creator>mark_ott</dc:creator>
      <dc:date>2025-10-03T11:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Asset Bundles fails deploy but works on the GUI with same parameters</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-fails-deploy-but-works-on-the-gui-with/m-p/133775#M49921</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/119590"&gt;@LeoRickli&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Are you setting apply_policy_default_values?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A class="c-link" href="https://docs.databricks.com/en/administration-guide/clusters/policies.html#:~:text=Default%20values%20don't%20automatically,not%20needed%20for%20fixed%20policies" target="_blank" rel="noopener noreferrer" data-stringify-link="https://docs.databricks.com/en/administration-guide/clusters/policies.html#:~:text=Default%20values%20don't%20automatically,not%20needed%20for%20fixed%20policies" data-sk="tooltip_parent" aria-describedby="sk-tooltip-42669"&gt;https://docs.databricks.com/en/administration-guide/clusters/policies.html#:~:text=Default%20values%20don't%20automatically,not%20needed%20for%20fixed%20policies&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After you update a policy's definitions, the compute resources created using that policy aren't automatically updated with the new policy definitions. You can choose to update all or some of these compute resources using policy compliance enforcement. See&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.databricks.com/aws/en/admin/clusters/policies#compliance" target="_blank"&gt;Enforce policy compliance&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Oct 2025 06:22:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-fails-deploy-but-works-on-the-gui-with/m-p/133775#M49921</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2025-10-04T06:22:22Z</dc:date>
    </item>
  </channel>
</rss>

