Skip to content

nschema force-unlock

Forcibly release a stale lock on the state store.

NSchema locks the state during write operations (apply, destroy, refresh); if one is interrupted, the lock can be left behind and block further runs. This removes whatever lock is currently held — use it only once you’re sure no operation is still running, Terraform’s force-unlock style.

Terminal window
nschema force-unlock
  • --force — skip the confirmation prompt.