Difference between revisions of "Terraform force-unlock"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | https://developer.hashicorp.com/terraform/cli/commands/force-unlock | ||
*<code>terraform force-unlock [options] LOCK_ID [DIR]</code> | *<code>terraform force-unlock [options] LOCK_ID [DIR]</code> | ||
Line 5: | Line 6: | ||
[[terraform force-unlock]] 660fed3f-cb8b-d3e4-7eec-7ea4f583435c | [[terraform force-unlock]] 660fed3f-cb8b-d3e4-7eec-7ea4f583435c | ||
Local state cannot be unlocked by another process | 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 == | == Related == | ||
− | * [[Error: Error acquiring the state lock]] | + | * <code>[[Error: Error acquiring the state lock]]</code> |
== See also == | == See also == | ||
− | * {{ | + | * {{tf files}} |
− | * {{terraform}} | + | * {{terraform state}} |
+ | |||
+ | |||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 08:29, 17 November 2022
https://developer.hashicorp.com/terraform/cli/commands/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[edit]
See also[edit]
- 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: