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.
I am also having the same issue with terraform.
Error while installing hashicorp/aws v3.24.1: open
.terraform\providers\registry.terraform.io\hashicorp\aws\3.24.1\windows_amd64\terraform-provider-aws_v3.24.1_x5.exe:
The system cannot find the path specified.
Hi
My issue got resolved by moving Terraform files to a folder whole length was small.
I moved right under c:\test folder for example and it worked. Earlier it was c:\user…\ was too long. Please try the same and see if that helps.
1 Like
Hi
I don’t think length of the path is a problem, I was able to run terraform from a much larger path in the same root folder
you could be right but it definitely worked for me.
worth a try but leave it with you
I somehow managed to get it to work
Initially the path was - C:\Users\a\b\c\d\e\f\g\h\i\j
It worked only in path - C:\Users\a\b\c\d\e\f\g\h
Not working even in path - C:\Users\a\b\c\d\e\f\g
WEIRD!
Problem is I am not obliged to further simplify the path 
it worked… i created a folder in the c drive instead of the Users folder and it worked…
I don’t know what is the logic… may be something changed in the terraform 14.5…
but thank you so much … Shailender
Thanks, It works with me after simplifying the path!