Run plan without acquiring the Consul state lock #5

Merged
benvin merged 1 commits from benvin/lockfree-plan into main 2026-08-23 22:30:44 +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 is unchanged and still locks.
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` is unchanged and still locks.
unkin-agent added 1 commit 2026-08-23 22:21:50 +10:00
Run plan without acquiring the Consul state lock
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/plan Pipeline was successful
0ff9f6bf7d
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 keeps locking
benvin merged commit 420ccd4cfd into main 2026-08-23 22:30:44 +10:00
benvin deleted branch benvin/lockfree-plan 2026-08-23 22:30:45 +10:00
Sign in to join this conversation.