테라폼 명령어 정리 - Terraform cheat sheet

잘 사용하지 않아서 까먹지만 필요하면 써야하는

2021/08/14

force unlock backend

force-unlock

image

$ terraform force-unlock cfbdf4ef-c9f2-0185-15fc-3bb706369be4      
Do you really want to force-unlock?
  Terraform will remove the lock on the remote state.
  This will allow local Terraform commands to modify this state, even though it
  may be still be in use. Only 'yes' will be accepted to confirm.

  Enter a value: yes

Terraform state has been successfully unlocked!

The state has been unlocked, and Terraform commands should now be able to
obtain a new lock on the remote state.```
$