cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Root Folder Configuration in Databricks Asset Bundles for DLT Pipelines

Davila
New Contributor II

I'm currently working with Databricks Asset Bundles to deploy my DLT pipelines, but I’ve encountered an issue I can't resolve.

The problem is that I’m unable to configure the root folder within the Asset Bundle in a way that lets me define a custom path for my source code. When I run the deployment, the root folder is incorrectly set to "--", as shown in the image bellow:

Davila_1-1750959884979.png

Here’s how my bundle resource is currently defined:

resources:
  pipelines:
    my_dlt_pipeline:
      name: my_dlt_pipeline
      libraries:
        - file:
            path: ${workspace.file_path}/src/../../../my_file_1.py
        - file:
            path: ${workspace.file_path}/src/../../../my_file_2.py
      configuration:
        bundle.sourcePath: ${workspace.file_path}/src
      serverless: true
      photon: true
      catalog: ${var.my_catalog} 
      target: my_schema
      channel: CURRENT

When I deploy, the files my_file_1.py and my_file_2.py are correctly listed in the UI, but the root folder still appears as "--".

Davila_2-1750960256363.png

Has anyone else faced this issue? How can I properly configure the root folder in the Asset Bundle?

0 REPLIES 0

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now