This is a demo project on how to prepare terraform environment to provision infrastructure from a server located on-premises.
In this demo, two configuration files written in the Hashicorp Configuration Language (HCL).
Provider.tf contains the terraform code for the provider, which in this case is the AWS.
Resource.tf contains information about AWS resources we want to provision with terraform.
A vpc and 3 subnets are going to be created through terraform code.
Requirements for this Demo
• A server/Laptop/computer
• AWS Active Account
• Terraform installed in a server/latptop/computer
• Visual Studio Code (vsc Editor)
Specifically, in this Demo, terraform is installed on a window laptop.
Command to install terraform (Windows)
• choco install terraform
• terraform -v (will check the terraform version installed)