Error: Failed to install providers Terraform 13.3 + Windows10

hello, I just upgraded from terraform 0.12.29 to terraform 0.13.3, and following the documentation where I had to adjust the plugins directory to the new standard, but I’m still having some problems.

the provider file is in the path below:

C:\Users\rodrigore\AppData\Roaming\terraform.d\plugins\registry.terraform.io\hashicorp\aws\3.8.0\windows_amd64

follows the error below:

Error: Failed to install provider

Error while installing hashicorp/aws v3.9.0: after installing
registry.terraform.io/hashicorp/aws it is still not detected in the target
directory; this is a bug in Terraform

[terragrunt] 2020/10/06 14:09:03 Hit multiple errors:
exit status 1

3 Likes

Got the same issue with 13.4

Initializing the backend...

Initializing provider plugins...
- Finding latest version of hashicorp/aws...
- Installing hashicorp/aws v3.10.0...

Error: Failed to install provider

Error while installing hashicorp/aws v3.10.0: open
.terraform\plugins\registry.terraform.io\hashicorp\aws\3.10.0\windows_amd64\terraform-provider-aws_v3.10.0_x5.exe:
The system cannot find the path specified.

Hello, Faced similar issue for kubectl and kubernetes providers, terraform v0.14.0 - Windows 10

Initializing the backend…

Initializing provider plugins…

  • Finding gavinbunney/kubectl versions matching “1.9.1”…
  • Finding hashicorp/aws versions matching “~> 3.0”…
  • Finding hashicorp/kubernetes versions matching “~> 1.11”…
  • Installing gavinbunney/kubectl v1.9.1…
  • Installing hashicorp/aws v3.21.0…
  • Installed hashicorp/aws v3.21.0 (signed by HashiCorp)
  • Installing hashicorp/kubernetes v1.13.3…
    Error: Failed to install provider

Error while installing gavinbunney/kubectl v1.9.1: open
.terraform\providers\registry.terraform.io\gavinbunney\kubectl\1.9.1\windows_amd64\terraform-provider-kubectl_v1.9.1.exe:
The system cannot find the path specified.

Error: Failed to install provider

Error while installing hashicorp/kubernetes v1.13.3: open
.terraform\providers\registry.terraform.io\hashicorp\kubernetes\1.13.3\windows_amd64\terraform-provider-kubernetes_v1.13.3_x4.exe:
The system cannot find the path specified.

Any help plz!!

getting this below error can anyone help?

Error: Failed to install provider

Error while installing hashicorp/random v3.0.1: open
.terraform\providers\registry.terraform.io\hashicorp\random\3.0.1\windows_amd64\terraform-provider-random_v3.0.1_x5.exe:
The system cannot find the path specified.