Skip to content

Commit

Permalink
Add workaround for cache locking
Browse files Browse the repository at this point in the history
  • Loading branch information
jrusz authored and ondrejbudai committed Nov 14, 2023
1 parent 80d2fde commit 90e1f81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 90e1f81

Please sign in to comment.