From ab00491a91fecdbac97922feaddab5261d188bbf Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sun, 23 Aug 2026 22:21:28 +1000 Subject: [PATCH] Run plan without acquiring the Consul state lock 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a2ba0a..90d95c9 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ init: plan: init @mkdir -p $(PLAN_DIR) $(call vault_env) && \ - terragrunt --terragrunt-working-dir $(ENV_DIR) plan -out=$(PLAN_FILE) + terragrunt --terragrunt-working-dir $(ENV_DIR) plan -lock=false -out=$(PLAN_FILE) apply: $(call vault_env) && \ -- 2.47.3