Create a VPC with Subnets and Internet Access
In the "Code Editor" tab, open the network.tf file.
Your task: Create a VPC with CIDR 10.0.0.0/16, two subnets (public: 10.0.1.0/24, private: 10.0.2.0/24), an Internet Gateway, a route table for the public subnet with a route to the Internet Gateway, and associate the route table with the public subnet.
GitOps Repository
- 📁 /root/learn-terraform-aws-vpc
- 📄 provider.tf
- 📄 network.tf