Run plan without acquiring the Consul state lock #6

Merged
benvin merged 1 commits from benvin/lockfree-plan into main 2026-08-23 22:30:12 +10:00
Member

PR plan pipelines were failing with "Error acquiring the state lock ... OperationTypePlan" when a plan collided with an apply (or another plan) holding the lock on the same Consul-backed state. Plans are read-only and don't need the lock.

  • plan: pass -lock=false to terragrunt ... plan; apply/apply-if-changes are unchanged and still lock.
PR plan pipelines were failing with "Error acquiring the state lock ... OperationTypePlan" when a plan collided with an apply (or another plan) holding the lock on the same Consul-backed state. Plans are read-only and don't need the lock. - `plan`: pass `-lock=false` to `terragrunt ... plan`; `apply`/`apply-if-changes` are unchanged and still lock.
unkin-agent added 1 commit 2026-08-23 22:21:56 +10:00
Run plan without acquiring the Consul state lock
ci/woodpecker/pr/plan Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
68d8101a76
PR plan pipelines were failing with "Error acquiring the state lock"
when they collided with a concurrent apply (or another plan) holding
the lock on the same Consul-backed state.

- plan: pass -lock=false to terragrunt plan; apply/apply-if-changes keep locking
benvin merged commit bb3c7304a5 into main 2026-08-23 22:30:12 +10:00
benvin deleted branch benvin/lockfree-plan 2026-08-23 22:30:12 +10:00
Sign in to join this conversation.