Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open \.terraform.d/plugins/windows_amd64: The system cannot find the path specified. #1866

Open
chetan-alti opened this issue Apr 19, 2024 · 2 comments

Comments

@chetan-alti
Copy link

Hai Everyone, when running terraformer I'm facing open .terraform.d/plugins/windows_amd64: The system cannot find the path specified.

I have downloaded the [.exe ] (https://github.com/GoogleCloudPlatform/terraformer/releases/download/0.8.24/terraformer-all-windows-amd64) file from release page.
then I have renamed the exe to terraformer and moved the exe to D://terraformer

  • I was able to run the terraformer --version (got the result as version v0.8.24)

I have a use-case I'm trying, the following is the prerequiesites
folder structure (added image at the end)
Iac_folder
|_ localmain.tf
|_ provider.tf

provider.tf

terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "5.26.0"
    }
  }
}

# Configure the AWS Provider
provider "aws" {
  region = "us-east-1"
  access_key = "acces_key"
  secret_key = "sec_key"
}

localmain.tf

terraform {
  backend "local" {
    path = "terraform.tfstate"
  }
}

I ran terraform init , it generated .terrform folder

but when I run terraformer import aws --resources=s3 --regions=us-east-1
getting following error message
2024/04/19 15:57:45 aws importing region us-east-1
2024/04/19 15:57:45 open .terraform.d/plugins/windows_amd64: The system cannot find the path specified.

image

Your help much appreciated , Thanks in advance

@dhilgarth
Copy link

windows_386 looks like you may be on a 32 bit machine instead of 64 bit?

@chetan-alti
Copy link
Author

Hai @dhilgarth , Thank for your response. I'm using the 64 bit machine.

But I was able to resolve the issue.

What I did

Update the terraform version to v1.8.0 , earlier I was using the older version of terraform.
After this it ran smoothly
image

I could not exactly deduce the root cause, but updating the terraform version resolved :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants