![]() Otherwise, we can waste lots of time investigating why - 'terraform' is not recognized as an internal or external command while running from CMD. It’s WORKING!Īwesome! It’s very simple installation but step 3 is very important during setup. Let’s go to terraform_lab folder on the desktop and run the command. Now if we run terraform command from cmd from any location, it will work now. Here basically we need to set terraform binaries path where we placed terraform.exe file in C drive. Now right click on properties of PC, click on Advanced system settings from the left menu, click on Environment Variables, there you will see user defined variable called Path. That directory is managed by Terraform itself and is the location for automatically-installed plugins. ![]() terraform/plugins directory is not the place to put plugins you're installing manually. In C drive create a folder called TerraformBinaries and place exe file there. Terraform looks for plugins in a number of locations, but the primary place for manually-installed plugins is in the 'User Plugins Directory', which is either /.terraform.d/plugins on Unix systems or APPDATA\terraform.d\plugins on Windows. Step 3 - Configure Environment Variable Path for Terraform.exe To make it work, we need to follow subsequent steps to configure in an environment variable. And we are getting as 'terraform' is not recognized as an internal or external command, operable program, or batch file. Here I created terraform_lab folder on desktop and try to run terraform command from there. Now the problem here is that we placed terraform.exe file on the desktop and if we try terraform command in any other folder, it won’t work. Once extraction has been completed, run command prompt, go to desktop, and run terraform command. Now we need to extract the zip file into the desktop. provider Error while installing hashicorp/ibm: provider registry. ![]() Step 2 - Extract Terraform.exe from downloaded archived The terraform registry is a web host for plugins and providers. Once the archived has been downloaded, it has single binaries called terraform.exe. Go to, then click on Windows 64-bit option. This article demonstrates terraform installation steps in windows. ![]() Terraform works on multiple platforms like Windows, Linux, macOS, etc. Installation of Terraform is very simple in Windows, you just need to download a binary file and use it.
0 Comments
Leave a Reply. |