terraform-demo/modules/transit-gateway-route-add/main.tf
2023-01-22 03:27:54 +09:00

5 lines
202 B
HCL

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
}