databricks / cli

Databricks CLI
Other
129 stars 48 forks source link

Duplicated Databricks Workflows #1650

Open ssaenzf opened 1 month ago

ssaenzf commented 1 month ago

Describe the issue

I am encountering problems because sometimes DAB when deploying instead of updating the existing workflows it creates new workflows with exactly the same name, and I end up with duplicated workflows, one the old version and the other the new version deployed. It may be related to not using correctly it's Terraform state somehow.

andrewnester commented 1 month ago

Hi! To help you resolve the issue we need a bit more details about your setup, in particular

  1. Which CLI version are you using?
  2. Do you run deploy for CI environment?
  3. Do you do any manipulation with the bundle like changing root path, renaming bundle and etc.?
moschnetzsch commented 3 weeks ago

Hi, we're facing the same issue:

  1. We're using databricks CLI 0.219.0
  2. We run deploy within ADO pipelines
  3. We're not doing any manipulation. Root path stays the same, bundle name stays the same. Only changes to code