Dheeraj Choudhary
Dheeraj Choudhary's Blog


Dheeraj Choudhary's Blog

Deploying On AWS Cloud Using Terraform Series Pre-Requisites

Deploying On AWS Cloud Using Terraform Series Pre-Requisites

Dheeraj Choudhary's photo
Dheeraj Choudhary
Β·Jan 1, 2023Β·

3 min read

Play this article

Table of contents

Welcome to the series of Deploying On AWS Cloud Using Terraform πŸ‘¨πŸ»β€πŸ’». In this entire series we will focus on our core concepts of Terraform by launching important basic services from scratch which will take your infra-as-code journey from beginner to advanced. This series would start from beginner to advance with real life Usecases and Youtube Tutorials.

If you are a beginner for Terraform and want to start your journey towards infra-as-code developer as part of your devops role buckle up πŸš΄β€β™‚οΈ and lets get started and understand core Terraform concepts by implementing it...🎬

Why to Use Terraform As Infra-As-Code Tool ??? πŸ€”

Infrastructure as code (IaC) tools allow you to manage infrastructure with configuration files rather than through a graphical user interface. IaC allows you to build, change, and manage your infrastructure in a safe, consistent, and repeatable way by defining resource configurations that you can version, reuse, and share.

Terraform is HashiCorp's infrastructure as code tool. It lets you define resources and infrastructure in human-readable, declarative configuration files, and manages your infrastructure's lifecycle. Using Terraform has several advantages over manually managing your infrastructure:

✦ Terraform can manage infrastructure on multiple cloud platforms.
✦ The human-readable configuration language helps you write infrastructure code quickly.
✦ Terraform's state allows you to track resource changes throughout your deployments.
✦ You can commit your configurations to version control to safely collaborate on infrastructure.

How to Install Terraform on Windows

  1. Goto Terraform official download page to install at binary here and you will land on below page


  2. In this landing page select your binary 386/Amd64 based on your machine and it will download a zip file.


  3. Now create a folder on the C/D whichever drive you want, I will go with D:\Software\Terraform. Download the zip file in this folder. Unzip the file to extract the .exe file.

  4. Now goto system environment variable and add path under environment variable.


    Now click on path and click edit


    Click on new add the path where we unzipped the terraform binary and press OK


  5. Open a Command prompt/Powershell and run this command to verify Terraform is installed successfully:


    To check your terraform version use below command terraform --version


Install Terraform extension in VS code

  1. Open visual studio code


  2. Goto extensions


  3. Install below two extensions from vs code market place
    ✦ Terraform Autocomplete ✦ HashiCorp Terraform


Download, Install & Configure AWS CLI on Windows πŸ‘β€πŸ—¨πŸ‘β€πŸ—¨

❗️❗️Important Documentation To Be Viewed❗️❗️

⛔️ Hashicorp Terraform
⛔️ Hashicorp Terraform Extension Guide
⛔️ Terraform Autocomplete Extension Guide

πŸ₯πŸ₯ Conclusion πŸ₯πŸ₯

In this blog, I have covered prerequisites that would be required as part of this series, to begin with VS Code Extensions.

πŸ“’ Stay tuned for my next blog.....

🎊**So, did you find my content helpful? If you did or like my other content, feel free to buy me a coffee. Thanks. **🎊

Did you find this article valuable?

Support Dheeraj Choudhary by becoming a sponsor. Any amount is appreciated!

See recent sponsors |Β Learn more about Hashnode Sponsors
Share this