【发布时间】:2020-07-07 00:08:13
【问题描述】:
我在尝试运行使用 terraform 锁的 terraform 脚本时收到以下错误消息。
*Acquiring state lock. This may take a few moments...*
*Error: Error locking state: Error acquiring the state lock: storage: service returned error: StatusCode=409, ErrorCode=LeaseAlreadyPresent, ErrorMessage=There is already a lease present.*
我实际上使用 ctrl+c 杀死了该进程,现在锁被卡住了。我试过terraform force-unlock 'LockID'
我收到以下错误。
*Local state cannot be unlocked by another process*
请有人建议。谢谢
【问题讨论】:
标签: terraform