From 57fe279d7ac4a3186d296ae3a5815533cf1b2a33 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sun, 23 Aug 2026 22:31:58 +1000 Subject: [PATCH] Run plan without acquiring the Consul state lock (#136) 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. Reviewed-on: https://git.unkin.net/unkin/terraform-vault/pulls/136 Co-authored-by: unkin-agent Co-committed-by: unkin-agent --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fa455f4..2aab8c3 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ init: plan: init @$(call vault_env) && \ - terragrunt run --all --parallelism 4 --non-interactive plan + terragrunt run --all --parallelism 4 --non-interactive plan -- -lock=false apply: init @$(call vault_env) && \