terraform force-unlock
terraform force-unlock [options] LOCK_ID [DIR]
terraform force-unlock 660fed3f-cb8b-d3e4-7eec-7ea4f583435c Local state cannot be unlocked by another process
terraform force-unlock --force 660fed3f-cb8b-d3e4-7eec-7ea4f583435c Failed to unlock state: LocalState not locked
Related
See also
- Terraform configuration files, Terraform state files:
.tf
,.tfvars
,main.tf, outputs.tf
,variables.tf
,.terraform.d/
,terraform init
,providers.tf
,.terraform/
,terraform.tfstate
,.terraform.lock.hcl
,terraform.tfstate.d, override.tf, versions.tf
- Terraform state:
terraform [ state | replace-provider | mv ]
,backend.tf
, Remote state backends to manage Terraform state, State locking,terraform force-unlock
Advertising: