From 90e1f818b1f4bca27df6d072768c4f94de136009 Mon Sep 17 00:00:00 2001 From: Jakub Rusz Date: Tue, 14 Nov 2023 16:38:48 +0100 Subject: [PATCH] Add workaround for cache locking --- base.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base.sh b/base.sh index ddf58cf..7c0ad17 100644 --- a/base.sh +++ b/base.sh @@ -15,6 +15,9 @@ mkdir -p "${JOBS}" # define a directory for this specific job JOB="${JOBS}/${CUSTOM_ENV_CI_JOB_ID}" +# Workaround for https://github.com/hashicorp/terraform/issues/32901 +export TF_PLUGIN_CACHE_MAY_BREAK_DEPENDENCY_LOCK_FILE=yes + # ServerAliveInterval helps with bad connectivity from/to the internal # VPC SSH="ssh -o ServerAliveInterval=1 -o ServerAliveCountMax=600 -o StrictHostKeyChecking=no"