erc 모듈화, vpc public dns 설정 등

This commit is contained in:
2022-12-26 14:34:38 +09:00
parent a0d22896a0
commit 535d721a50
14 changed files with 123 additions and 115 deletions

7
modules/igw/main.tf Normal file
View File

@ -0,0 +1,7 @@
resource "aws_internet_gateway" "gw" {
vpc_id = var.vpc_id
tags = {
Name = "main-igw"
}
}

4
modules/igw/valiables.tf Normal file
View File

@ -0,0 +1,4 @@
variable "vpc_id" {
description = "set vpc id"
type = string
}