라우팅테이블 서브넷 리스트 할당 연결
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
resource "aws_route" "r" {
|
||||
route_table_id = "rtb-4fbb3ac4"
|
||||
resource "aws_route" "route-add" {
|
||||
route_table_id = var.route_public_id
|
||||
destination_cidr_block = "0.0.0.0/0"
|
||||
gateway_id = var.igw_id
|
||||
depends_on = [var.route_public_id]
|
||||
|
@ -1,9 +1,4 @@
|
||||
variable "vpc_id" {
|
||||
description = "set vpc id"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "tag_name" {
|
||||
variable "route_public_id" {
|
||||
description = "value"
|
||||
type = string
|
||||
}
|
||||
|
Reference in New Issue
Block a user