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
| Resource | Description |
|---|---|
| aws_internet_gateway.this | Internet Gateway attached to VPC |
Input Variables
| Name | Type | Description |
|---|---|---|
| vpc_id | string | VPC ID (from module 01) |
Outputs
| Name | Description |
|---|---|
| igw_id | Internet Gateway ID |
Dependencies
Info
Dependencies: module.vpc (01-vpc) - needs vpc_id