Files
opentf/website/docs/commands/force-unlock.html.markdown
Diod FR f0edb192b3 ADD CLI option position for force-unlock command (#26626)
* ADD CLI option position for force-unlock command

* Update force-unlock.html.markdown

Made a change to also include the missing [DIR]

Co-authored-by: Petros Kolyvas <petros@hashicorp.com>
2020-10-21 18:13:18 -03:00

949 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
docs Command: force-unlock docs-commands-force-unlock The `terraform force-unlock` manually unlocks the Terraform state

Command: force-unlock

Manually unlock the state for the defined configuration.

This will not modify your infrastructure. This command removes the lock on the state for the current configuration. The behavior of this lock is dependent on the backend being used. Local state files cannot be unlocked by another process.

Usage

Usage: terraform force-unlock [options] LOCK_ID [DIR]

Manually unlock the state for the defined configuration.

This will not modify your infrastructure. This command removes the lock on the state for the current configuration. The behavior of this lock is dependent on the backend being used. Local state files cannot be unlocked by another process.

Options:

  • -force - Don't ask for input for unlock confirmation.