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

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group