github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/website/docs/commands/force-unlock.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Command: force-unlock"
     4  sidebar_current: "docs-commands-force-unlock"
     5  description: |-
     6    The `terraform force-unlock`  manually unlocks the Terraform state
     7  ---
     8  
     9  # Command: force-unlock
    10  
    11  Manually unlock the state for the defined configuration.
    12  
    13  This will not modify your infrastructure. This command removes the lock on the
    14  state for the current configuration. The behavior of this lock is dependent
    15  on the backend being used. Local state files cannot be unlocked by another
    16  process.
    17  
    18  ## Usage
    19  
    20  Usage: terraform force-unlock LOCK_ID [DIR]
    21  
    22  Manually unlock the state for the defined configuration.
    23  
    24  This will not modify your infrastructure. This command removes the lock on the
    25  state for the current configuration. The behavior of this lock is dependent
    26  on the backend being used. Local state files cannot be unlocked by another
    27  process.
    28  
    29  Options:
    30  
    31  *  `-force` -  Don't ask for input for unlock confirmation.