Loading...
Loading...
### Terraform Version ```shell Terraform v1.12.2 ``` ### Terraform Configuration Files ``` terraform { required_providers { null = { source = "hashicorp/null" version = "3.2.4" } local = { source = "hashicorp/local" version = "2.5.3" } ssh = { source = "loafoe/ssh" version = "2.7.0" } kubectl = { source = "gavinbunney/kubectl" version = ">= 1.14" } } } ``` ### Debug Output ``` 2025-08-20T12:29:36.726Z [INFO] Terraform version: 1.12.2 2025-08-20T12:29:36.769Z [DEBUG] using github.com/hashicorp/go-tfe v1.74.1 2025-08-20T12:29:36.769Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.23.1-0.20250203194505-ba0759438da2 2025-08-20T12:29:36.769Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 2025-08-20T12:29:36.769Z [DEBUG] using github.com/zclconf/go-cty v1.16.2 2025-08-20T12:29:36.769Z [INFO] Go runtime version: go1.24.2 2025-08-20T12:29:36.769Z [INFO] CLI args: []string{"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\qwerty-tmp-5904\\qwerty-package\\components\\orchestrator\\files\\0\\.terraform.d\\terraform.exe", "init", "-no-color", "-input=false", "-backend=true", "-get=true", "-upgrade=false", "-backend-config=path=C:\\Users\\Administrator\\.qwertyctl\\orchestrator\\terraform.tfstate", "-plugin-dir=C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\qwerty-tmp-5904\\qwerty-package\\components\\orchestrator\\files\\0\\.terraform.d\\provider\\k3s\\assets\\.terraform\\providers"} 2025-08-20T12:29:36.771Z [TRACE] Stdout is a terminal of width 78 2025-08-20T12:29:36.771Z [TRACE] Stderr is a terminal of width 78 2025-08-20T12:29:36.771Z [TRACE] Stdin is a terminal 2025-08-20T12:29:36.774Z [DEBUG] Attempting to open CLI config file: C:\Users\Administrator\AppData\Roaming\terraform.rc 2025-08-20T12:29:36.774Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring. 2025-08-20T12:29:36.775Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins 2025-08-20T12:29:36.775Z [DEBUG] ignoring non-existing provider search directory C:\Users\Administrator\AppData\Roaming\terraform.d\plugins 2025-08-20T12:29:36.777Z [DEBUG] ignoring non-existing provider search directory C:\Users\Administrator\AppData\Roaming\HashiCorp\Terraform\plugins 2025-08-20T12:29:36.778Z [INFO] CLI command args: []string{"init", "-no-color", "-input=false", "-backend=true", "-get=true", "-upgrade=false", "-backend-config=path=C:\\Users\\Administrator\\.qwertyctl\\orchestrator\\terraform.tfstate", "-plugin-dir=C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\qwerty-tmp-5904\\qwerty-package\\components\\orchestrator\\files\\0\\.terraform.d\\provider\\k3s\\assets\\.terraform\\providers"} Initializing the backend... 2025-08-20T12:29:36.782Z [TRACE] Meta.Backend: merging -backend-config=... CLI overrides into backend configuration 2025-08-20T12:29:36.782Z [TRACE] Meta.Backend: built configuration for "local" backend with hash value 666019178 2025-08-20T12:29:36.782Z [TRACE] Meta.Backend: working directory was previously initialized for "local" backend 2025-08-20T12:29:36.783Z [TRACE] backendConfigNeedsMigration: given configuration matches cached configuration, so no migration is required 2025-08-20T12:29:36.783Z [TRACE] Meta.Backend: using already-initialized "local" backend configuration 2025-08-20T12:29:36.783Z [TRACE] Meta.BackendForPlan: backend *local.Local supports operations 2025-08-20T12:29:36.784Z [TRACE] Meta.selectWorkspace: the currently selected workspace is present in the configured backend (default) 2025-08-20T12:29:36.784Z [TRACE] Meta.Backend: instantiated backend of type *local.Local 2025-08-20T12:29:36.786Z [TRACE] providercache.fillMetaCache: scanning directory .terraform\providers 2025-08-20T12:29:36.788Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/gavinbunney/kubectl v1.19.0 for windows_amd64 at .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 2025-08-20T12:29:36.789Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/local v2.5.3 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 2025-08-20T12:29:36.790Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.2.4 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 2025-08-20T12:29:36.791Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.6.0 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 2025-08-20T12:29:36.792Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v4.0.5 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 2025-08-20T12:29:36.792Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/loafoe/ssh v2.7.0 for windows_amd64 at .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 2025-08-20T12:29:36.793Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 as a candidate package for registry.terraform.io/gavinbunney/kubectl 1.19.0 2025-08-20T12:29:36.793Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/local 2.5.3 2025-08-20T12:29:36.793Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.2.4 2025-08-20T12:29:36.793Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/random 3.6.0 2025-08-20T12:29:36.794Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/tls 4.0.5 2025-08-20T12:29:36.794Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 as a candidate package for registry.terraform.io/loafoe/ssh 2.7.0 2025-08-20T12:29:36.852Z [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers 2025-08-20T12:29:36.909Z [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers 2025-08-20T12:29:37.116Z [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers 2025-08-20T12:29:37.172Z [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers 2025-08-20T12:29:37.225Z [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers 2025-08-20T12:29:37.272Z [DEBUG] checking for provisioner in "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\qwerty-tmp-5904\\qwerty-package\\components\\orchestrator\\files\\0\\.terraform.d\\provider\\k3s\\assets\\.terraform\\providers" 2025-08-20T12:29:37.272Z [TRACE] Meta.Backend: backend *local.Local supports operations 2025-08-20T12:29:37.272Z [TRACE] backend/local: state manager for workspace "default" will: - read initial snapshot from C:\Users\Administrator\.qwertyctl\orchestrator\terraform.tfstate - write new snapshots to C:\Users\Administrator\.qwertyctl\orchestrator\terraform.tfstate - create any backup at C:\Users\Administrator\.qwertyctl\orchestrator\terraform.tfstate.backup 2025-08-20T12:29:37.272Z [TRACE] statemgr.Filesystem: reading initial snapshot from C:\Users\Administrator\.qwertyctl\orchestrator\terraform.tfstate 2025-08-20T12:29:37.272Z [TRACE] statemgr.Filesystem: snapshot file has nil snapshot, but that's okay 2025-08-20T12:29:37.272Z [TRACE] statemgr.Filesystem: read nil snapshot Initializing modules... 2025-08-20T12:29:37.274Z [TRACE] ModuleInstaller: installing child modules for . into .terraform\modules 2025-08-20T12:29:37.275Z [DEBUG] Module installer: begin k3s 2025-08-20T12:29:37.292Z [TRACE] ModuleInstaller: Module installer: k3s already installed in modules\qwerty\k3s 2025-08-20T12:29:37.293Z [TRACE] modsdir: writing modules manifest to .terraform\modules\modules.json 2025-08-20T12:29:37.298Z [DEBUG] init: overriding provider plugin search paths 2025-08-20T12:29:37.298Z [DEBUG] will search for provider plugins in [C:\Users\ADMINI~1\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers] Initializing provider plugins... - Reusing previous version of hashicorp/tls from the dependency lock file 2025-08-20T12:29:37.299Z [TRACE] getproviders.SearchLocalDirectory: using C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers instead of C:\Users\ADMINI~1\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers 2025-08-20T12:29:37.299Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/gavinbunney/kubectl v1.19.0 for windows_amd64 at C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 2025-08-20T12:29:37.301Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/local v2.5.3 for windows_amd64 at C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 2025-08-20T12:29:37.301Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.2.4 for windows_amd64 at C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 2025-08-20T12:29:37.301Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.6.0 for windows_amd64 at C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 2025-08-20T12:29:37.303Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v4.0.5 for windows_amd64 at C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 2025-08-20T12:29:37.304Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/loafoe/ssh v2.7.0 for windows_amd64 at C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 - Reusing previous version of gavinbunney/kubectl from the dependency lock file - Reusing previous version of hashicorp/null from the dependency lock file - Reusing previous version of hashicorp/local from the dependency lock file - Reusing previous version of loafoe/ssh from the dependency lock file - Reusing previous version of hashicorp/random from the dependency lock file 2025-08-20T12:29:37.305Z [TRACE] providercache.fillMetaCache: scanning directory .terraform\providers 2025-08-20T12:29:37.306Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/gavinbunney/kubectl v1.19.0 for windows_amd64 at .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 2025-08-20T12:29:37.307Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/local v2.5.3 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 2025-08-20T12:29:37.308Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.2.4 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 2025-08-20T12:29:37.309Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.6.0 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 2025-08-20T12:29:37.309Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v4.0.5 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 2025-08-20T12:29:37.310Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/loafoe/ssh v2.7.0 for windows_amd64 at .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 2025-08-20T12:29:37.310Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 as a candidate package for registry.terraform.io/gavinbunney/kubectl 1.19.0 2025-08-20T12:29:37.311Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/local 2.5.3 2025-08-20T12:29:37.311Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.2.4 2025-08-20T12:29:37.311Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/random 3.6.0 2025-08-20T12:29:37.311Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/tls 4.0.5 2025-08-20T12:29:37.311Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 as a candidate package for registry.terraform.io/loafoe/ssh 2.7.0 - Using previously-installed hashicorp/local v2.5.3 2025-08-20T12:29:37.366Z [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers - Installing loafoe/ssh v2.7.0... 2025-08-20T12:29:37.426Z [TRACE] providercache.Dir.InstallPackage: installing registry.terraform.io/loafoe/ssh v2.7.0 from C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 2025-08-20T12:29:37.426Z [TRACE] providercache.fillMetaCache: scanning directory .terraform\providers 2025-08-20T12:29:37.428Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/gavinbunney/kubectl v1.19.0 for windows_amd64 at .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 2025-08-20T12:29:37.429Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/local v2.5.3 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 2025-08-20T12:29:37.430Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.2.4 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 2025-08-20T12:29:37.430Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.6.0 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 2025-08-20T12:29:37.431Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v4.0.5 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 2025-08-20T12:29:37.432Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/loafoe/ssh v2.7.0 for windows_amd64 at .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 2025-08-20T12:29:37.432Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/local 2.5.3 2025-08-20T12:29:37.432Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.2.4 2025-08-20T12:29:37.432Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/random 3.6.0 2025-08-20T12:29:37.432Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/tls 4.0.5 2025-08-20T12:29:37.433Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 as a candidate package for registry.terraform.io/loafoe/ssh 2.7.0 2025-08-20T12:29:37.433Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 as a candidate package for registry.terraform.io/gavinbunney/kubectl 1.19.0 - Installing hashicorp/random v3.6.0... 2025-08-20T12:29:37.480Z [TRACE] providercache.Dir.InstallPackage: installing registry.terraform.io/hashicorp/random v3.6.0 from C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 2025-08-20T12:29:37.480Z [TRACE] providercache.fillMetaCache: scanning directory .terraform\providers 2025-08-20T12:29:37.482Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/gavinbunney/kubectl v1.19.0 for windows_amd64 at .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 2025-08-20T12:29:37.482Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/local v2.5.3 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 2025-08-20T12:29:37.483Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.2.4 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 2025-08-20T12:29:37.484Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.6.0 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 2025-08-20T12:29:37.485Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v4.0.5 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 2025-08-20T12:29:37.486Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/loafoe/ssh v2.7.0 for windows_amd64 at .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 2025-08-20T12:29:37.486Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 as a candidate package for registry.terraform.io/gavinbunney/kubectl 1.19.0 2025-08-20T12:29:37.486Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/local 2.5.3 2025-08-20T12:29:37.486Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.2.4 2025-08-20T12:29:37.486Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/random 3.6.0 2025-08-20T12:29:37.486Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/tls 4.0.5 2025-08-20T12:29:37.487Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 as a candidate package for registry.terraform.io/loafoe/ssh 2.7.0 - Installing hashicorp/tls v4.0.5... 2025-08-20T12:29:37.537Z [TRACE] providercache.Dir.InstallPackage: installing registry.terraform.io/hashicorp/tls v4.0.5 from C:\Users\Administrator\AppData\Local\Temp\qwerty-tmp-5904\qwerty-package\components\orchestrator\files\0\.terraform.d\provider\k3s\assets\.terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 2025-08-20T12:29:37.537Z [TRACE] providercache.fillMetaCache: scanning directory .terraform\providers 2025-08-20T12:29:37.539Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/gavinbunney/kubectl v1.19.0 for windows_amd64 at .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 2025-08-20T12:29:37.540Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/local v2.5.3 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 2025-08-20T12:29:37.540Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/null v3.2.4 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 2025-08-20T12:29:37.541Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/random v3.6.0 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 2025-08-20T12:29:37.542Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/hashicorp/tls v4.0.5 for windows_amd64 at .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 2025-08-20T12:29:37.542Z [TRACE] getproviders.SearchLocalDirectory: found registry.terraform.io/loafoe/ssh v2.7.0 for windows_amd64 at .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 2025-08-20T12:29:37.543Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\tls\4.0.5\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/tls 4.0.5 2025-08-20T12:29:37.543Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\loafoe\ssh\2.7.0\windows_amd64 as a candidate package for registry.terraform.io/loafoe/ssh 2.7.0 2025-08-20T12:29:37.543Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.19.0\windows_amd64 as a candidate package for registry.terraform.io/gavinbunney/kubectl 1.19.0 2025-08-20T12:29:37.543Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\local\2.5.3\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/local 2.5.3 2025-08-20T12:29:37.544Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\null\3.2.4\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/null 3.2.4 2025-08-20T12:29:37.544Z [TRACE] providercache.fillMetaCache: including .terraform\providers\registry.terraform.io\hashicorp\random\3.6.0\windows_amd64 as a candidate package for registry.terraform.io/hashicorp/random 3.6.0 - Using previously-installed gavinbunney/kubectl v1.19.0 2025-08-20T12:29:37.743Z [TRACE] providercache.fillMetaCache: using cached result from previous scan of .terraform\providers - Using previously-installed hashicorp/null v3.2.4 Error: Failed to install provider Error while installing loafoe/ssh v2.7.0: cannot install existing provider directory .terraform/providers/registry.terraform.io/loafoe/ssh/2.7.0/windows_amd64 to itself Error: Failed to install provider Error while installing hashicorp/random v3.6.0: cannot install existing provider directory .terraform/providers/registry.terraform.io/hashicorp/random/3.6.0/windows_amd64 to itself Error: Failed to install provider Error while installing hashicorp/tls v4.0.5: cannot install existing provider directory .terraform/providers/registry.terraform.io/hashicorp/tls/4.0.5/windows_amd64 to itself ``` ### Expected Behavior I'm running Terraform in an air-gapped environment and expect to reuse the providers folder on a Windows machine. However, if I build the providers folder for a Linux machine, the issue does not occur. ### Actual Behavior Terraform initialization failed on Windows when attempting to reuse the providers folder. The workaround is to rename the source providers folder and to remove the lock file. This extra step is not required on Linux and it confuse me a lot. ### Steps to Reproduce 1. Run terraform init on a Windows machine to download the providers from the internet. 2. Copy the downloaded Terraform providers to a folder on a Windows air-gapped machine. 3. Copy the Terraform configuration files and the Terraform lock file to the same folder on the Windows air-gapped machine. 4. Run terraform init on the air-gapped machine using the existing providers folder as input. This should work, but it does not. (redo this on linux and will work without issues) ### Additional Context I’m running Terraform in an air-gapped environment on both Windows and Linux. I want to package the providers, transfer them to the air-gapped machine, and use Terraform with the included providers. This works well on Linux machine, but it does not work on Windows machine, and I'm unable to understand why. ### References _No response_ ### Generative AI / LLM assisted development? _No response_
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.