Coffee77
Honored Contributor II

What I did as a workaround. It works pretty fine but you'll need to duplicate Dashboard JSON code per environment and then, replace catalog names 🙄 It is not the perfect solution but the only way I could find to include these deployment in my Databricks Asset Bundles (DAB).

1) Include dashboards in DAB:

Coffee77_2-1762445959232.png

2) Define dashboards in there similar to this one. I usually create or update dashboards directly in Databricks UI and then, import JSON source code:

Coffee77_5-1762446232350.png

3) Then, include the JSON files associated to your dashboards in proper paths depending on environments. In my case, I just need to replace catalog names per environment. It takes me less than one minute although waiting for a better solution without duplicating code...

Coffee77_4-1762446190030.png

I hope this helps

 

 

 

 


Lifelong Solution Architect Learner | Coffee & Data