This commit is contained in:
2023-01-22 03:27:54 +09:00
parent d3f56ecc0c
commit 09e9dcf9b5
28 changed files with 188 additions and 247 deletions

View File

@ -0,0 +1,5 @@
resource "aws_ec2_transit_gateway_route" "example" {
destination_cidr_block = var.cidr
transit_gateway_attachment_id = var.attatch_id
transit_gateway_route_table_id = var.route_table_id
}

View File

@ -0,0 +1,13 @@
variable "cidr" {
description = "cidr"
type = string
}
variable "route_table_id" {
description = "route_table_id"
type = string
}
variable "attatch_id" {
type = string
}