03-Internet Gateway

Module creating Internet Gateway and attaching to VPC

Stage Modulemodules/03-internet-gateway

Purpose

Creates Internet Gateway to allow resources in public subnets to communicate with the Internet.

Created Resources

ResourceDescription
aws_internet_gateway.thisInternet Gateway attached to VPC

Input Variables

NameTypeDescription
vpc_idstringVPC ID (from module 01)

Outputs

NameDescription
igw_idInternet Gateway ID

Dependencies

Info

Dependencies: module.vpc (01-vpc) - needs vpc_id