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: 

Deploy lock force acquired error when deploying asset bundle using databricks cli

alpine
New Contributor

I'm running this command on a DevOps pipeline.

databricks bundle deploy -t dev

I receive this error and have tried using --force-lock but it still doesn't work.

Error: deploy lock force acquired by name@company.com at 2024-02-20 16:38:34.99794209 +0000 UTC. Use --force-lock to override
 
This problem started happening after I added a module to the databricks asset bundle. 
4 REPLIES 4

amedkua
New Contributor II

Hi Kaniz, please where exactly are we supposed to add this short code ? Thanks a lot 🙂

Li_Li
New Contributor II

Hi, I had the same error. Could I ask if this --force-lock has anything to do with the terraform lock? or it's a separate lock only for bundle? Where can I find documentation about this flag? thank you in advance.

manish1987c
New Contributor III

why we geneally get this error any specific reason

manish1987c
New Contributor III

you can use below command

databricks bundle deploy -t dev --force-lock

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