State locking configuration is not persisted with terraform init. The -lock and -lock-timeout flags must be passed to every invocation of terraform that touch the state file, so plan/apply/destroy.
This version is available now at jrynyt2/drone-terraform:latest
New output example:
$ terraform plan -out=plan.tfout -var env=dev -lock=true -lock-timeout=300s
If it waits, after some time:
Acquiring state lock. This may take a few moments...
State locking configuration is not persisted with
terraform init
. The-lock
and-lock-timeout
flags must be passed to every invocation of terraform that touch the state file, so plan/apply/destroy.This version is available now at
jrynyt2/drone-terraform:latest
New output example:
If it waits, after some time: