<?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: Unable to fetch variables from variable-overrides.json in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/111012#M43763</link>
    <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104610"&gt;@ashraf1395&lt;/a&gt;&amp;nbsp;Thanks for your inputs. Let me check this and revert back.&lt;/P&gt;</description>
    <pubDate>Mon, 24 Feb 2025 09:04:48 GMT</pubDate>
    <dc:creator>Venugopal</dc:creator>
    <dc:date>2025-02-24T09:04:48Z</dc:date>
    <item>
      <title>databricks asset bundles: Unable to fetch variables from variable-overrides.json</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/110840#M43711</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using Databricks CLI 0.227.1 for creating a bundle project to deploy job.&lt;/P&gt;&lt;P&gt;As per this ,&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/variables" target="_blank"&gt;https://learn.microsoft.com/en-us/azure/databricks/dev-tools/bundles/variables&lt;/A&gt;&amp;nbsp;I wanted to have variable-overrides.json to have my variables.&lt;/P&gt;&lt;P&gt;I created a json file&amp;nbsp;variable-overrides.json at&amp;nbsp;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;.databricks/bundle/dev/variable-overrides.json.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I then referred these variables in the job definition like this:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;resources:&lt;BR /&gt;jobs:&lt;BR /&gt;venu_test_poc1_job:&lt;BR /&gt;name: venu_test_poc1_job&lt;BR /&gt;tasks:&lt;BR /&gt;- task_key: ${var.task_key}&lt;BR /&gt;job_cluster_key: ${var.job_cluster_key}&lt;BR /&gt;spark_python_task:&lt;BR /&gt;python_file: ../src/venu_test_poc1/task.py&lt;BR /&gt;job_clusters:&lt;BR /&gt;- job_cluster_key: ${var.job_cluster_key}&lt;BR /&gt;new_cluster:&lt;BR /&gt;spark_version: 15.4.x-scala2.12&lt;BR /&gt;node_type_id: Standard_D3_v2&lt;BR /&gt;autoscale:&lt;BR /&gt;min_workers: 1&lt;BR /&gt;max_workers: 3&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;This is my variable-overrides.json:&lt;/FONT&gt;&lt;/P&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;{&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;"task_key": "ms-ip-usage-collection-task",&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;"job_cluster_key": "ms-ip-usage-collection-job-cluster" &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;When I run databricks bundle validate, I get the below error:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Error: reference does not exist: ${var.job_cluster_key}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As per this, I tried using vars.variablename instead of var.variablename and then the validate command went fine.&lt;/P&gt;&lt;P&gt;But the bundle deploy command threw the below error:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Error: Reference to undeclared resource&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;on bundle.tf.json line 45, in resource.databricks_job.venu_test_poc1_job.task[0]:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;45: "job_cluster_key": "${vars.job_cluster_key}",&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;A managed resource "vars" "job_cluster_key" has not been declared in the root&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;module.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;Error: Reference to undeclared resource&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;on bundle.tf.json line 49, in resource.databricks_job.venu_test_poc1_job.task[0]:&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;49: "task_key": "${vars.task_key}"&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;A managed resource "vars" "task_key" has not been declared in the root&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;module.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;To get things moving, I had put the variable definition and their assignments in the resource bundle config file databricks.yaml itself. But this doesnt look clean as there will be lot of variables that I need to use and it is best to have them in a json separately. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Pls help me understand how to get the values from variable-overrides.json.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Venu&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Venu&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2025 11:39:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/110840#M43711</guid>
      <dc:creator>Venugopal</dc:creator>
      <dc:date>2025-02-21T11:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: databricks asset bundles: Unable to fetch variables from variable-overrides.json</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/110950#M43749</link>
      <description>&lt;P&gt;Hi there&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/56424"&gt;@Venu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You have&amp;nbsp;to specify the names of those variables in databricks.yml as well&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;variables:
 task_key:
 metadata_schema:&lt;/LI-CODE&gt;&lt;P&gt;then you can reference them later in your jobs definition : ${var.task_key} or ${var.job_cluster_key} the way you did.&lt;/P&gt;&lt;P&gt;and have your variables file in .databricks/bundle/dev/variable-overrides.json&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
 "task_key" : "abc",
 "job_cluster_key" : "efg"
}&lt;/LI-CODE&gt;&lt;P&gt;This will make the code and run and deploy, but it wont solve your original problem of keeping the code clean.&lt;/P&gt;&lt;P&gt;For that you should divide your mappings into multiple bundle_configuration_files&lt;/P&gt;&lt;P&gt;like bundle.variables.yml and you can specifiy all your variables in that&lt;/P&gt;&lt;P&gt;similarly you can have it for bundle.resources.yml or bundle.targets.yml&amp;nbsp; you can even have seperate files for each of your resources like pipelines, jobs, clusters etc.&lt;/P&gt;&lt;P&gt;keep them in a single folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;and then in your databricks.yml at the top&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;include:

- bundle.variables.yml

- bundle.resources.yml&lt;/LI-CODE&gt;&lt;P&gt;You can find more information about these in the databricks bundle configuration syntax docs :&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/dev-tools/bundles/settings" target="_blank"&gt;https://docs.databricks.com/aws/en/dev-tools/bundles/settings&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2025 06:32:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/110950#M43749</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2025-02-22T06:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: databricks asset bundles: Unable to fetch variables from variable-overrides.json</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/111012#M43763</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104610"&gt;@ashraf1395&lt;/a&gt;&amp;nbsp;Thanks for your inputs. Let me check this and revert back.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2025 09:04:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/111012#M43763</guid>
      <dc:creator>Venugopal</dc:creator>
      <dc:date>2025-02-24T09:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: databricks asset bundles: Unable to fetch variables from variable-overrides.json</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/111610#M43947</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104610"&gt;@ashraf1395&lt;/a&gt;&amp;nbsp;- I tried the approach suggested by you and it is not working as expected.&lt;/P&gt;&lt;P&gt;My databricks.yml file has:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;bundle&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;ip_obs_bundle&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;variables&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;v_task_key&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;description&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;The task key.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;default&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"default_taskkey"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;v_job_cluster_key&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;description&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;The cluster key.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;default&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"default_clusterkey"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;v_job_name&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;description&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;The job name.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;default&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"default_jobname"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;include&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;resources/*.yml&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;My job definition under resources folder:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;resources&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;jobs&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ip_obs_bundle_job&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;name&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;${&lt;STRONG&gt;var.v_job_name&lt;/STRONG&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;tasks&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;task_key&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;${&lt;STRONG&gt;var.v_task_key&lt;/STRONG&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;job_cluster_key&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;${&lt;STRONG&gt;var.v_job_cluster_key&lt;/STRONG&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;spark_python_task&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;python_file&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;../src/venu_ip_obs_poc1/task.py&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;job_clusters&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;job_cluster_key&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;${&lt;STRONG&gt;var.v_job_cluster_key&lt;/STRONG&gt;}&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;new_cluster&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;spark_version&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;15.4.x-scala2.12&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;node_type_id&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;Standard_D3_v2&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;autoscale&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;min_workers&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;max_workers&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;3&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My &lt;STRONG&gt;variables-overrides.json&lt;/STRONG&gt; under &lt;EM&gt;projectroot/.databricks/bundle/dev&lt;/EM&gt; looks like:&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;{&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;---truncated&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"v_job_name": "overrride_jobname",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"v_task_key": "override_taskkey",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;"v_job_cluster_key": "override_clusterkey",&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;--truncated&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;}&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;I don't have any environment variable or command line variable that could conflict with variables-overrides.json.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;Even after having this, I get to see the jobs and tasks with names that have been taken from default values in the variable definition in databricks.yml, but they don't pick the values from variables-overrides.json.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;Can you pls help with this? Not sure what am I missing here.&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 03 Mar 2025 16:57:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/111610#M43947</guid>
      <dc:creator>Venugopal</dc:creator>
      <dc:date>2025-03-03T16:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: databricks asset bundles: Unable to fetch variables from variable-overrides.json</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/111818#M44007</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/104610"&gt;@ashraf1395&lt;/a&gt;&amp;nbsp;any thoughts on the above issue?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 12:29:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/111818#M44007</guid>
      <dc:creator>Venugopal</dc:creator>
      <dc:date>2025-03-05T12:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: databricks asset bundles: Unable to fetch variables from variable-overrides.json</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/112055#M44090</link>
      <description>&lt;P&gt;Hi there&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/99147"&gt;@Venugopal&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;According to the precedence order of databricks overrides value should be taken first than default values&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ashraf1395_0-1741407820791.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/15293iA30BA0E0D13FD916/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ashraf1395_0-1741407820791.png" alt="ashraf1395_0-1741407820791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyways&lt;BR /&gt;If you just put the variable names in databrics.yml file it will work. No need to give default values if not required&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; variables:
    v_task_key:
      description: The task key.
    v_job_cluster_key:
      description: The cluster key.
    v_job_name:
      description: The job name.&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Mar 2025 04:24:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-asset-bundles-unable-to-fetch-variables-from-variable/m-p/112055#M44090</guid>
      <dc:creator>ashraf1395</dc:creator>
      <dc:date>2025-03-08T04:24:23Z</dc:date>
    </item>
  </channel>
</rss>

