03-Internet Gateway

Module tạo Internet Gateway và attach vào VPC

Stage Modulemodules/03-internet-gateway

Mục đích

Tạo Internet Gateway để cho phép các resources trong public subnets có thể giao tiếp với Internet.

Resources được tạo

ResourceMô tả
aws_internet_gateway.thisInternet Gateway gắn vào VPC

Input Variables

TênKiểuMô tả
vpc_idstringID của VPC (từ module 01)

Outputs

TênMô tả
igw_idID của Internet Gateway

Dependencies

Thông tin

Phụ thuộc: module.vpc (01-vpc) - cần vpc_id