Theory:

Screenshot (1430).png

Screenshot (1431).png

Lab Tutorial:

> Follow the below Steps to Install Terraform on Windows OS:

  1. Go to google & search for “Terraform Download” [https://developer.hashicorp.com/terraform/install?ajs_aid=b094bb46-8d9f-446c-a9e6-83dea38dac53&product_intent=terraform]
  2. Then in the Download Page inside Windows Section, Click on “386 Download button” & A Zip File will start downloading
  3. Now go to C Drive on File Explorer → Go to “Program Files” folder & create a folder named “Terraform” inside that folder
  4. Now click on the Downloaded file, it will open inside WinRAR software, there click on the “Extract To” & then extract it inside the “Terraform” folder
  5. Now through File Explorer, copy the path of the Terraform Folder [C:\Program Files\Terraform]
  6. Now go to CMD & type terraform version , it will display nothing because system doesn’t know where is the Terraform present in the system
  7. Now go to “Environment Variables” → Inside the “User variables” section, select the “Path” option & click on “Edit” → Then click on “New” & paste the path of the Terraform Folder there [C:\Program Files\Terraform] → Now click on “OK” two times to save the Path of Terraform, that will let your system know where is Terraform present inside your system & that’s how you can use it
  8. Now restart CMD again & type terraform version , finally it will display the Version of the Terraform present in your system

> Follow the below Steps to Start using Terraform on Windows OS: