Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.17 KB

File metadata and controls

35 lines (29 loc) · 1.17 KB

terraform-aws-networking-tf-course

Networking module created during Lauro Müller's Terraform course: https://www.lauromueller.com/courses/mastering-terraform

This module manages the creation of VPCs and Subnets, allowing for the creation of both private and public subnets.

Example usage:

module "vpc" {
  source = "./modules/networking"

  vpc_config = {
    cidr_block = "10.0.0.0/16"
    name       = "your_vpc"
  }

  subnet_config = {
    subnet_1 = {
      cidr_block = "10.0.0.0/24"
      az         = "eu-west-1a"
    }
    subnet_2 = {
      cidr_block = "10.0.1.0/24"
      public     = true
      az         = "eu-west-1b"
    }
  }
}

Make sure to check my other courses: