<?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 Bundles - How to select which jobs resources to deploy per target? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/95781#M39172</link>
    <description>&lt;P&gt;"This&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;include&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;array can appear only as a top-level mapping." - you can't use&amp;nbsp;&lt;STRONG&gt;include&lt;/STRONG&gt; inside targets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;&lt;STRONG&gt;sync - exclude&lt;/STRONG&gt; to exclude the yml files, but if they are in the&amp;nbsp;&lt;STRONG&gt;include&lt;/STRONG&gt; the workflows are going to be created anyway, even if the yml files are not deployed to the environment.&lt;/P&gt;&lt;P&gt;I want to deploy all resources to dev and staging, but not some resources to prod. I couldn't find a way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there was a way to use conditions in databricks.yml it would be easy to do it. But as this post explains, it is only possible to do it when initializing a template: &lt;A href="https://community.databricks.com/t5/data-engineering/if-else-conditions-in-databricks-asset-bundles/td-p/89156" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/if-else-conditions-in-databricks-asset-bundles/td-p/89156&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2024 22:30:15 GMT</pubDate>
    <dc:creator>sergiopolimante</dc:creator>
    <dc:date>2024-10-23T22:30:15Z</dc:date>
    <item>
      <title>Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62023#M31875</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;My team and I are experimenting with bundles, we follow the pattern of having one main file Databricks.yml and each job definition specified in a separate yaml for modularization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We wonder if it is possible to select from the main Databricks.yml which jobs resources are deploy per target. In specific, we have a job called test_&amp;lt;name of the application&amp;gt;, which contain all the unit testing and integration testing. Ideally, this test job would only be deploy in development alongside the rest of the resources, while in production the test job would be excluded.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Below an example of the Databricks.yml.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# yaml-language-server: $schema=..\..\bundle_config_schema.json
bundle:
  name: app_name

include:
  - resources/*.yml
  - tests/test_job.yml

targets:
  dev:
#  We know this is not possible but ideally something like this would be brilliant
#      include:
#        - resources/*.yml
#        - tests/test_job.yml
    default: true
    variables:
      slack_web_hoook: 111111111222222222222222
      catalog: catalog_name
      storage_account_name: storege_account_name
    mode: development
    workspace:
      host: https://adb-******.azuredatabricks.net

  prod:
# We know this is not possible but something like this would be brilliant
#     exclude:
#       - "tests/*"
    variables: 
      slack_web_hoook: 1111112222333344444
      catalog: _catalog_name
      storage_account_name: storage_account_name
    mode: production
    workspace:
      host: https://adb-***************.azuredatabricks.net
      root_path: /Shared/.bundle/prod/${bundle.name}
    run_as:
     user_name: user.user@email&lt;/LI-CODE&gt;&lt;P&gt;Is there any alternative better than defining the whole job resource within this file?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2024 19:36:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62023#M31875</guid>
      <dc:creator>Adrianj</dc:creator>
      <dc:date>2024-02-26T19:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62059#M31890</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/100915"&gt;@Adrianj&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you checked the Target Override feature?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/job-task-override.html" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/bundles/job-task-override.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/settings.html#examples" target="_blank"&gt;https://docs.databricks.com/en/dev-tools/bundles/settings.html#examples&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There doesn't seem to be a direct 'exclude' option in the bundle configuration. However, by carefully specifying what to 'include', you can effectively exclude unnecessary or unwanted files&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 06:19:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62059#M31890</guid>
      <dc:creator>Allia</dc:creator>
      <dc:date>2024-02-27T06:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62064#M31891</link>
      <description>&lt;P&gt;It does not seem to be possible to exclude a resource, but what you can do is to import configurations inside the target definition instead of the top level bundle configuration. This allows you to deploy different resources accordingly but with the price of repeating include for each target config.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 07:30:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62064#M31891</guid>
      <dc:creator>Ariaa</dc:creator>
      <dc:date>2024-02-27T07:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62074#M31895</link>
      <description>&lt;P&gt;Hi Ariaa, thanks for answering. Do you have an example? When I add "include" below the target definition, it does give me an error when validating. Thanks in advance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 09:30:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62074#M31895</guid>
      <dc:creator>Adrianj</dc:creator>
      <dc:date>2024-02-27T09:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62076#M31896</link>
      <description>&lt;P&gt;take a look at the &lt;A href="https://docs.databricks.com/en/dev-tools/bundles/settings.html#id15" target="_self"&gt;documentation&lt;/A&gt; for "sync".&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 10:09:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62076#M31896</guid>
      <dc:creator>Ariaa</dc:creator>
      <dc:date>2024-02-27T10:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62087#M31897</link>
      <description>&lt;P&gt;Thanks Ariaa, I have previously tried with "Sync", unfortunately, as per my understanding. Sync works with files that you want to include or exclude as part of the bundle deployment, for example: notebooks, wheels or others. Unfortunately, it only treats the config yaml files as normal files, meaning it does not apply the configurations as part of the bundle.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 10:44:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62087#M31897</guid>
      <dc:creator>Adrianj</dc:creator>
      <dc:date>2024-02-27T10:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62417#M31964</link>
      <description>&lt;P&gt;Very important feature to add to Data Asset Bundles, we have the same issue right now, thanks for bringing it up&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 09:05:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62417#M31964</guid>
      <dc:creator>BerkerKozan</dc:creator>
      <dc:date>2024-03-01T09:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62439#M31967</link>
      <description>&lt;P&gt;Don't know if this is what you are trying to achieve, but during my limited testing I managed to deploy an extra notebook to a DLT pipeline to **only** stg by referencing it as an additional library:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;targets:
  dev:
    default: true
    resources:
      pipelines:
        sales_pipeline:
          development: true

  stg:
    workspace:
      host: https://xxxx.x.azuredatabricks.net/ #Replace with the host address of your stg environment
    resources:
      pipelines:
        sales_pipeline:
          libraries:
          #Adding a Notebook to the DLT pipeline that tests the data
          - notebook:
              path: "./50_tests/10_integration/DLT-Pipeline-Test.py"
          development: true

  prod:
    workspace:
      host: https://xxx.x.azuredatabricks.net/ #Replace with the host address of your prod environment
    resources:
      pipelines:
        sales_pipeline:
          development: false
          #Update the cluster settings of the DLT pipeline
          clusters:
            - autoscale:
                min_workers: 1
                max_workers: 2&lt;/LI-CODE&gt;&lt;P&gt;The actual asset is deployed to all targets, but the pipeline in where it is referenced and ran is target specific.&amp;nbsp;&lt;/P&gt;&lt;P&gt;More info and source code here if you want to test:&amp;nbsp;&lt;A href="https://github.com/ossinova/databricks-asset-bundles-demo" target="_blank"&gt;ossinova/databricks-asset-bundles-demo: A demo of using databricks asset bundles (github.com)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 11:54:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/62439#M31967</guid>
      <dc:creator>ossinova</dc:creator>
      <dc:date>2024-03-01T11:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/65177#M32750</link>
      <description>&lt;P&gt;Yup, totally agree with you it would be great if we have the ability to use include/exclude at that level. But anyway, as mentioned by Ossinova, adding your job 'test_job.yml' contents (resources mapping) into the target mapping with that job (or more than one) could solve your problem.&amp;nbsp;&lt;BR /&gt;Check here about&amp;nbsp;&lt;A href="https://docs.databricks.com/en/dev-tools/bundles/settings.html#targets:" target="_blank" rel="noopener"&gt;https://docs.databricks.com/en/dev-tools/bundles/settings.html#targets:&lt;/A&gt;&amp;nbsp;"&lt;EM&gt;If a target mapping specifies a&amp;nbsp;&lt;SPAN class=""&gt;workspace&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class=""&gt;artifacts&lt;/SPAN&gt;, or&amp;nbsp;&lt;SPAN class=""&gt;resources&lt;/SPAN&gt;&amp;nbsp;mapping, and a top-level&amp;nbsp;&lt;SPAN class=""&gt;workspace&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class=""&gt;artifacts&lt;/SPAN&gt;, or&amp;nbsp;&lt;SPAN class=""&gt;resources&lt;/SPAN&gt;&amp;nbsp;mapping also exists, then any conflicting settings are overridden by the settings within the target.".&lt;BR /&gt;&lt;/EM&gt;That means the new job (or whatever) resource in your case will be appended to the existing ones if you didn't introduce any conflict (make sure names are different).&lt;BR /&gt;&lt;BR /&gt;Here is an example how I added a job to run only in test environment (and not in "dev", "staging" and "prod"):&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;# The name of the bundle. run `databricks bundle schema` to see the full bundle settings schema.
bundle:
  name: mlops-stacks

variables:
  experiment_name:
    description: Experiment name for the model training.
    default: /Users/${workspace.current_user.userName}/${bundle.target}-mlops-stacks-experiment
  model_name:
    description: Model name for the model training.
    default: mlops-stacks-model
  seperator:
    description: useful seperator index by PR number for test workflows. Default is nothing for other envs
    default: ""

include:
  - ./assets/*.yml

# Deployment Target specific values for workspace
targets:
  dev:
    default: true
    workspace:
      host: https://********************.databricks.com

  staging:
    workspace:
      host: https://********************.databricks.com

  prod:
    workspace:
      host: https://********************.databricks.com

  test:
    workspace:
      host: https://********************.databricks.com
      # dedicated path to deploy files for test envs by PR
      root_path: /Users/${workspace.current_user.userName}/.bundle/${bundle.name}/${bundle.target}${var.seperator}
    variables:
      # overwrite default experiment_name to have experiment by PR in test env 
      # (avoids "cannot create mlflow experiment: Node named '...-experiment' already exists")
      experiment_name: /Users/${workspace.current_user.userName}/.bundle/${bundle.name}/${bundle.target}${var.seperator}/${bundle.target}-mlops-stacks-experiment
    resources:
      # additional job to be deployed in 'test' for cleaning up tests' resources 
      jobs:
        resources_cleanup_job:
          name: ${bundle.target}${var.seperator}-mlops-stacks-resources-cleanup-job
          
          max_concurrent_runs: 1

          permissions:
            - level: CAN_VIEW
              group_name: users

          tasks:
            - task_key: resources_cleanup_job
              job_cluster_key: resources_cleanup_cluster
              notebook_task:
                notebook_path: utils/notebooks/TestResourcesCleanup.py  # without ../
                base_parameters:
                  schema_full_name: test.mlops_stacks_demo
                  seperator: ${var.seperator}
                  git_source_info: url:${bundle.git.origin_url}; branch:${bundle.git.branch}; commit:${bundle.git.commit}

          job_clusters:
            - job_cluster_key: resources_cleanup_cluster
              new_cluster:
                num_workers: 3
                spark_version: 13.3.x-cpu-ml-scala2.12
                node_type_id: i3.xlarge
                custom_tags:
                  clusterSource: mlops-stack/0.2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 11:52:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/65177#M32750</guid>
      <dc:creator>M_smile</dc:creator>
      <dc:date>2024-04-01T11:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/65912#M32953</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/100915"&gt;@Adrianj&lt;/a&gt;&amp;nbsp;, Please refer this medium.com post. I have tried explaining how dynamically you can change the content of the databricks.yml for each of the environment by maintaining single databricks.yml file with adequate level of parameters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your example, you may create environment wise folders and you may write something like below and then value of $(var.DeployEnv) can be replaced by azure tokenization task as described in bullet number 4.V&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;include:
  - resources/$(var.DeployEnv)/*.yml
  - testjobs/$(var.DeployEnv)/*.yml&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://medium.com/@hrushi.medhe/databricks-asset-bundles-azure-devops-project-57453cf0e642" target="_blank"&gt;https://medium.com/@hrushi.medhe/databricks-asset-bundles-azure-devops-project-57453cf0e642&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 15:24:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/65912#M32953</guid>
      <dc:creator>HrushiM</dc:creator>
      <dc:date>2024-04-09T15:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/76580#M35269</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/100915"&gt;@Adrianj&lt;/a&gt;&amp;nbsp;, which solution did you go for? I have 4 deployment targets so I would like to avoid having to create 4 folders with many duplicates.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 06:33:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/76580#M35269</guid>
      <dc:creator>thibault</dc:creator>
      <dc:date>2024-07-03T06:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/95674#M39147</link>
      <description>&lt;P&gt;checking after few months. Did Databricks solve this yet?. Do we have include /exclude options inside targets?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 08:51:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/95674#M39147</guid>
      <dc:creator>aswinraajm</dc:creator>
      <dc:date>2024-10-23T08:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/95781#M39172</link>
      <description>&lt;P&gt;"This&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;include&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;array can appear only as a top-level mapping." - you can't use&amp;nbsp;&lt;STRONG&gt;include&lt;/STRONG&gt; inside targets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;&lt;STRONG&gt;sync - exclude&lt;/STRONG&gt; to exclude the yml files, but if they are in the&amp;nbsp;&lt;STRONG&gt;include&lt;/STRONG&gt; the workflows are going to be created anyway, even if the yml files are not deployed to the environment.&lt;/P&gt;&lt;P&gt;I want to deploy all resources to dev and staging, but not some resources to prod. I couldn't find a way.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there was a way to use conditions in databricks.yml it would be easy to do it. But as this post explains, it is only possible to do it when initializing a template: &lt;A href="https://community.databricks.com/t5/data-engineering/if-else-conditions-in-databricks-asset-bundles/td-p/89156" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/if-else-conditions-in-databricks-asset-bundles/td-p/89156&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 22:30:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/95781#M39172</guid>
      <dc:creator>sergiopolimante</dc:creator>
      <dc:date>2024-10-23T22:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112259#M44152</link>
      <description>&lt;P&gt;Has there been any updates to this use case?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 09:39:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112259#M44152</guid>
      <dc:creator>hiryucodes</dc:creator>
      <dc:date>2025-03-11T09:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112273#M44157</link>
      <description>&lt;P&gt;Not that I'm aware of. I've solved it substituting the resources folder string from databricks.yml in the cicd configuration. Definitely not great.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 12:38:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112273#M44157</guid>
      <dc:creator>thibault</dc:creator>
      <dc:date>2025-03-11T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112284#M44163</link>
      <description>&lt;P&gt;Would you be able to share how to use the variable in the include? I can't seem to work it out&lt;/P&gt;</description>
      <pubDate>Tue, 11 Mar 2025 14:08:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112284#M44163</guid>
      <dc:creator>hiryucodes</dc:creator>
      <dc:date>2025-03-11T14:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112345#M44184</link>
      <description>&lt;P&gt;Again, this is not what I would recommend, and it's temporary, but this is how it looks like in databricks.yml :&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;include&lt;/SPAN&gt;:&lt;BR /&gt;  - ./$asset_folder/*.yml&lt;/PRE&gt;&lt;P&gt;And in the training section of my cicd pipeline :&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;BR /&gt;- &lt;SPAN&gt;script&lt;/SPAN&gt;: |&lt;BR /&gt;    sed -i 's/\$asset_folder/resources_training/g' databricks.yml&lt;BR /&gt;  &lt;SPAN&gt;workingDirectory&lt;/SPAN&gt;: $(workingDirectory)&lt;BR /&gt;  &lt;SPAN&gt;displayName&lt;/SPAN&gt;: Define assets to be included in the bundle&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 12 Mar 2025 09:50:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/112345#M44184</guid>
      <dc:creator>thibault</dc:creator>
      <dc:date>2025-03-12T09:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/119072#M45789</link>
      <description>&lt;P&gt;Is there any update from databricks about this?&lt;/P&gt;</description>
      <pubDate>Tue, 13 May 2025 17:01:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/119072#M45789</guid>
      <dc:creator>Joao-Peixoto-DE</dc:creator>
      <dc:date>2025-05-13T17:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/131358#M49063</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/102311"&gt;@HrushiM&lt;/a&gt;! Did this work for you? I tried to use a variable in the "include" session but looks like it doesn't read the variable. I&lt;SPAN&gt;f I replace "${bundle.target}" with hardcoded "dev" then it works correctly. (tried ${var.env} as well, also didn't work)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;include&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;resources/common/*.yml&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;SPAN&gt;resources/${bundle.target}/*.yml&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;```&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Sep 2025 09:22:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/131358#M49063</guid>
      <dc:creator>yliu</dc:creator>
      <dc:date>2025-09-09T09:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks Bundles - How to select which jobs resources to deploy per target?</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/140952#M51588</link>
      <description>&lt;P&gt;Experiencing the same issue. Solved partially by placing high level targets in the job yml file, but this only works if the job has to go only one environment. If this is for two environments, but not the third, there is no way to avoid duplicating this job. This is really inconvenient. Targets should have high level includes.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dimitry_0-1764731374949.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/22062i696C8899D347F095/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dimitry_0-1764731374949.png" alt="Dimitry_0-1764731374949.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>Wed, 03 Dec 2025 03:11:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-bundles-how-to-select-which-jobs-resources-to-deploy/m-p/140952#M51588</guid>
      <dc:creator>Dimitry</dc:creator>
      <dc:date>2025-12-03T03:11:29Z</dc:date>
    </item>
  </channel>
</rss>

