Project: Create a VPC and Two Subnets
Explore building a Terraform module to create a VPC and two subnets by providing CIDR range inputs. Understand how to return outputs for these resources and run your project efficiently using Terraform commands. This lesson helps you apply your Terraform knowledge through hands-on AWS resource management.
We'll cover the following...
We'll cover the following...
Problem statement
Write a Terraform module that creates a VPC and 2 subnets. The module takes inputs for the CIDR ranges for the VPC and subnets and should return the created VPC and each subnet as an output. Create a Terraform project ...