Databricks asset bundle deploys DLT pipelines as duplicate resources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 07:04 AM - edited 03-10-2025 07:29 AM
Dear Community,
I have a deployment issue after restructuring my project.
Previously, our project was organized with the following structure:
project/src/
project/resources/
project/databricks.yml
As part of an optimization effort, we have transitioned to a monorepo structure with multiple sub-projects:
project1/
project2/
All resources, including Delta Live Tables (DLT) pipelines that were deployed in the earlier structure, have now been moved to project1/.
Deployment Issue
Following this restructuring, we encountered a problem when deploying with Databricks Asset Bundle (DAB). Specifically:
Error: cannot create pipeline: The pipeline name '[user] bronze__pipeline' is already used by another pipeline. This check can be skipped by setting `allow_duplicate_names = true` in the request.
with databricks_pipeline.bronze_pipeline,
on bundle.tf.json line 315, in resource.databricks_pipeline.bronze__pipeline:
315: },
--> It seems that DAB does not recognize the pipelines as the same resources after the folder restructuring. DAB treats them as new resources rather than updates to existing ones.
Questions:
How can we better understand Databricks Asset Bundle (DAB) behavior when restructuring projects?
What steps can be taken to ensure that we continue using the same resources, namely the same DLT pipelines, after restructuring the project?
- Labels:
-
Workflows
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 09:23 PM
Hi there, @HoussemBL ,
Though I dont know the exact solution to your answer. To answer your first question - You can look into your .databricks/ folder for better understanding of your dabs behaviour.
- Are you separating your databricks.yml files after news projects are being created or still using the single databicks.yml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2025 02:59 AM
Hi @ashraf1395 ,
I am creating two separate databricks.yml for each sub-project.

