정리
This commit is contained in:
5
modules/transit-gateway-route-add/main.tf
Normal file
5
modules/transit-gateway-route-add/main.tf
Normal 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
|
||||
}
|
0
modules/transit-gateway-route-add/outputs.tf
Normal file
0
modules/transit-gateway-route-add/outputs.tf
Normal file
13
modules/transit-gateway-route-add/variables.tf
Normal file
13
modules/transit-gateway-route-add/variables.tf
Normal 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
|
||||
}
|
Reference in New Issue
Block a user