github.com/hugorut/terraform@v1.1.3/website/docs/cli/commands/force-unlock.mdx (about)

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