diff --git a/acceptance/acceptance_test.go b/acceptance/acceptance_test.go index 3e77a49c84..8b8d257c4e 100644 --- a/acceptance/acceptance_test.go +++ b/acceptance/acceptance_test.go @@ -134,6 +134,9 @@ func testAccept(t *testing.T, InprocessMode bool, singleTest string) int { repls.SetPath(terraformrcPath, "$DATABRICKS_TF_CLI_CONFIG_FILE") terraformExecPath := filepath.Join(buildDir, "terraform") + if runtime.GOOS == "windows" { + terraformExecPath += ".exe" + } t.Setenv("DATABRICKS_TF_EXEC_PATH", terraformExecPath) t.Setenv("TERRAFORM", terraformExecPath) repls.SetPath(terraformExecPath, "$TERRAFORM")