igw 생성.

This commit is contained in:
2022-12-26 19:13:43 +09:00
parent 535d721a50
commit 89ee20efff
22 changed files with 136 additions and 28 deletions

View File

@ -0,0 +1,7 @@
resource "aws_route" "r" {
route_table_id = "rtb-4fbb3ac4"
destination_cidr_block = "0.0.0.0/0"
gateway_id = var.igw_id
depends_on = [var.route_public_id]
# depends_on = [aws_route_table.testing]
}

View File

View File

@ -0,0 +1,14 @@
variable "vpc_id" {
description = "set vpc id"
type = string
}
variable "tag_name" {
description = "value"
type = string
}
variable "igw_id" {
description = "value"
type = string
}