A Stuck State Lock
A CI job crashed during apply, and now every plan fails with "Error acquiring the state lock". What is the safe way forward?
Choose one answer
Wait 24 hours; locks in every backend expire on their own after a day.
Delete the state file so a new one is created.
Add -lock=false to every future command.
-lock=false
Check no run is active, then force-unlock it.
force-unlock