Run plan without acquiring the Consul state lock #84

Merged
benvin merged 1 commits from benvin/lockfree-plan into main 2026-08-23 22:31:31 +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:40 +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
f83bdff5e6
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 9ac6edd0a1 into main 2026-08-23 22:31:31 +10:00
benvin deleted branch benvin/lockfree-plan 2026-08-23 22:31:31 +10:00
Sign in to join this conversation.