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: 

Deploying Data Assets Bundle with VSCode Add-in

simonB2025
New Contributor III

Deploying a bundle containing a Pipeline that references a DLT Notebook.
In the YAML I am passing the relative path to the Notebook from the repository root (where the YAML lives).

Deploying says 'success' but when validating, the Pipeline cannot find the notebook.

Here is where the deployed Pipeline is looking to find the notebook : 

"/Workspace/Users/xxxx@xxxxxx.com/.bundle/vehicle/dev/files/.databricks/bundle/dev/notebooks/vehicle"

NB: Code is in an Azure Devops Repository and I am deploying using the VSCode Add-in.
 
Would appreciate guidance on what I am doing wrong !?
Thanks
 

 

 

bundle:
name: vehicle

targets:
dev:
mode: development
default: true
workspace:
host: https://dbc-xxxxxxxx-xxxx.cloud.databricks.com

resources:
pipelines:
vehicle:
name: vehicle
catalog: dev_bronze
schema: landing
development: true
edition: ADVANCED
channel: CURRENT
photon: false
continuous: false
clusters:
- label: default
autoscale:
min_workers: 1
max_workers: 5
mode: ENHANCED
libraries:
- notebook:
path: "./.databricks/bundle/dev/notebooks/vehicle.ipynb"

 

1 ACCEPTED SOLUTION

Accepted Solutions

Ilir, thanks for the reply.
Problem now solved.
Have been shown how to generate a template using "databricks bundle init" which has put me on the right path.
Thanks

View solution in original post

3 REPLIES 3

ilir_nuredini
Honored Contributor

Hello @simonB2025 

May you share a snippet of your folder/project structure and where the notebook resides, so we can suggest to
you the exact solution. Thank you!

Best, Ilir

Ilir, thanks for the reply.
Problem now solved.
Have been shown how to generate a template using "databricks bundle init" which has put me on the right path.
Thanks

Happy to hear you solved the issue @simonB2025 . !