You can see the power of Terraform when you provision infrastructure in the cloud environment. In this post, we will create VPC and subnets via Terraform step by step.
We will configure
- VPC
- 2 Subnets: public and private
- Internet Gateway
- NAT Gateway with an elastic IP
- 2 Route tables: public and private