在运行Terraform 过程中,进程关掉了之类的错误之后,在运行 destroy 和 apply 会报lock.info 文件损坏或不存在之类的错误。

解决方法:


terraform refresh -lock=false