<?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: name_prefix doesn't work with presets in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107152#M42713</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/36432"&gt;@Satyadeepak&lt;/a&gt;&amp;nbsp;here's the databricks.yml taken from `databricks bundle init` and adjusted to this issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bundle:
  name: my_project

include:
  - resources/*.yml

targets:
  dev:
    mode: development
    default: true
    run_as:
      user_name: ${workspace.current_user.userName}


  prod:
    mode: production
    presets:
      name_prefix: "prod_"
      tags:
        prod: "true"
    run_as:
      user_name: ${workspace.current_user.userName}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when deploying the above bundle to dev and prod this is the jobs that get created&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evangelos_0-1737967245606.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14340iF5FA8E8C5D263F5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evangelos_0-1737967245606.png" alt="evangelos_0-1737967245606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2025 08:42:38 GMT</pubDate>
    <dc:creator>evangelos</dc:creator>
    <dc:date>2025-01-27T08:42:38Z</dc:date>
    <item>
      <title>Databricks asset bundles: name_prefix doesn't work with presets</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/106664#M42542</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I am deploying a databricks workflow using bundles and want to attach the prefix "prod_" to the name of my job.&lt;/P&gt;&lt;P&gt;My target uses the `mode: production` and I follow the instructions in&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/settings#mode-and-presets" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/settings#mode-and-presets&lt;/A&gt;&amp;nbsp;to set the name_prefix.&lt;/P&gt;&lt;P&gt;Unfortunatelly, nothing is happening &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To replicate:&lt;BR /&gt;- run `databricks bundle init` to create a new bundle repository&lt;BR /&gt;-&amp;nbsp;&lt;SPAN&gt;adjust the prod target in the `databricks.yml` according to the above documentation&lt;BR /&gt;- run `databricks bundle deploy -t prod`&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 14:37:45 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/106664#M42542</guid>
      <dc:creator>evangelos</dc:creator>
      <dc:date>2025-01-22T14:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles: name_prefix doesn't work with presets</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/106946#M42655</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/145324"&gt;@evangelos&lt;/a&gt;&amp;nbsp;If you followed this doc,&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/settings.html" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/bundles/settings.html&lt;/A&gt;&amp;nbsp;it should work.&lt;/P&gt;
&lt;P&gt;Can you send your `databricks.yml` file by removing all the values for the variables to check further.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2025 19:03:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/106946#M42655</guid>
      <dc:creator>Satyadeepak</dc:creator>
      <dc:date>2025-01-24T19:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles: name_prefix doesn't work with presets</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107057#M42691</link>
      <description>&lt;P&gt;You need to attach the prefix "prod_" to the name of your job in a Databricks workflow using bundles, you need to ensure that the &lt;CODE&gt;name_prefix&lt;/CODE&gt; preset is correctly configured in your &lt;CODE&gt;databricks.yml&lt;/CODE&gt; file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;targets:
  prod:
    mode: production
    presets:
      name_prefix: "prod_"  # prefix all resource names with prod_
      tags:
        prod: true&lt;/LI-CODE&gt;
&lt;P&gt;Does it work for you when you are in dev mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jan 2025 11:19:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107057#M42691</guid>
      <dc:creator>NandiniN</dc:creator>
      <dc:date>2025-01-26T11:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles: name_prefix doesn't work with presets</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107152#M42713</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/36432"&gt;@Satyadeepak&lt;/a&gt;&amp;nbsp;here's the databricks.yml taken from `databricks bundle init` and adjusted to this issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bundle:
  name: my_project

include:
  - resources/*.yml

targets:
  dev:
    mode: development
    default: true
    run_as:
      user_name: ${workspace.current_user.userName}


  prod:
    mode: production
    presets:
      name_prefix: "prod_"
      tags:
        prod: "true"
    run_as:
      user_name: ${workspace.current_user.userName}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when deploying the above bundle to dev and prod this is the jobs that get created&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="evangelos_0-1737967245606.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/14340iF5FA8E8C5D263F5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="evangelos_0-1737967245606.png" alt="evangelos_0-1737967245606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 08:42:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107152#M42713</guid>
      <dc:creator>evangelos</dc:creator>
      <dc:date>2025-01-27T08:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles: name_prefix doesn't work with presets</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107164#M42719</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/23233"&gt;@NandiniN&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/36432"&gt;@Satyadeepak&lt;/a&gt;&amp;nbsp; update: my colleague with more privileges deployed the job and the prefix appeared, we are trying to figure out what type of privileges are needed. thanks for the help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 08:59:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107164#M42719</guid>
      <dc:creator>evangelos</dc:creator>
      <dc:date>2025-01-27T08:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks asset bundles: name_prefix doesn't work with presets</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107213#M42732</link>
      <description>&lt;P&gt;second update: the issue wasn't additional privileges but an outdated cli version used to deploy the job, updating the databricks cli resolved everything&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2025 11:55:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-name-prefix-doesn-t-work-with-presets/m-p/107213#M42732</guid>
      <dc:creator>evangelos</dc:creator>
      <dc:date>2025-01-27T11:55:50Z</dc:date>
    </item>
  </channel>
</rss>

