From 74da834ba2fbef0c203e96fb98d9c8d9debac525 Mon Sep 17 00:00:00 2001 From: James Bardin Date: Tue, 25 Feb 2025 08:19:35 -0500 Subject: [PATCH] Temporally disable new windows symlink behavior EvalSymlinks and Readlink on Windows used to return incorrect information for windows junctions which were specifically not symlinks prior to go1.23. Unfortunately Terraform uses `EvalSymlinks` in situations where Windows users had come to expect their configuration to work as if it were symlinked even though it used a different filesystem structure. Set winsymlink=0 to restore the existing behavior until we can determine the best course of action for Windows users. --- go.mod | 2 ++ 1 file changed, 2 insertions(+) diff --git a/go.mod b/go.mod index 46d7ff7e5d..211ec0c001 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/hashicorp/terraform go 1.24.0 +godebug winsymlink=0 + require ( github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 github.com/ProtonMail/go-crypto v1.0.0