I would like to confirm that this functionality would be ideal for non-Terraform Cloud operators.
We have pipelines that execute in kubernetes, and sometimes the nodes will scale down and the plan or apply pods will die off, leaving the state locked. Having a terraform get-lock-id
command or something similar to be able to run a terraform force-unlock -force $(terraform get-lock-id)
within the pipeline would be nice.