brikis98 / terraform-up-and-running-code

Code samples for the book "Terraform: Up & Running" by Yevgeniy Brikman
http://www.terraformupandrunning.com/
MIT License
2.9k stars 1.92k forks source link

Failed to install provider #70

Closed rudiheydra closed 3 years ago

rudiheydra commented 3 years ago

I'm busy with chapter 3 - trying to stand up the webserver-cluster but when I run terraform init I get the following errors:

Initialization failed: exit status 1

Error: Failed to install provider

Error while installing hashicorp/aws v2.70.0: open .terraform\providers\registry.terraform.io\hashicorp\aws\2.70.0\windows_amd64\terraform-provider-aws_v2.70.0_x4.exe: The system cannot find the path specified.

Error: Failed to install provider

Error while installing hashicorp/template v2.2.0: open .terraform\providers\registry.terraform.io\hashicorp\template\2.2.0\windows_amd64\terraform-provider-template_v2.2.0_x4.exe: The system cannot find the path specified.

Please advise Many thanks Rudi

brikis98 commented 3 years ago

Could you share:

  1. What code you're running.
  2. The full command you ran.
  3. The full log output.
rudiheydra commented 3 years ago

Hi

Thanks for getting back to me...

It seems to be a Windows thing as the code ran fine on my Debian vm... so not to worry for now.

By the way I found you course very informative... I'm busy delving in to Golang as to I understand more of the Terratest and Terragrunt code.

It's invaluable to be able to do integration testing before deploying infrastructure.

Thanks again for the great course!

Rudi

On Mon, 10 May 2021, 23:39 Yevgeniy Brikman, @.***> wrote:

Could you share:

  1. What code you're running.
  2. The full command you ran.
  3. The full log output.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brikis98/terraform-up-and-running-code/issues/70#issuecomment-836712185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMYRUM7VFYDYDC2BVDESNFLTM7OXVANCNFSM43U3JX6A .

brikis98 commented 3 years ago

Understood, thanks for closing the loop. And thank you for the kind words!