-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
47 lines (42 loc) · 1.4 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
variable "route_table_name" {
type = string
description = "Name of the route table."
}
variable "vpc_id" {
type = string
description = "Id of the VPC to attach to."
}
variable "tags" {
type = map(string)
description = "Tags to apply to the route table."
default = {}
}
variable "subnet_id" {
type = string
description = "Subnet ID to assocaite route table with."
default = null
}
variable "gateway_id" {
type = string
description = "Gateway ID to associate route table with."
defeault = null
}
variable "routes" {
type = list(object({
destination_cidr_block = optional(string, null)
destination_ipv6_cidr_block = optional(string, null)
destination_prefix_list_id = optional(string, null)
carrier_gateway_id = optional(string, null)
core_network_name = optional(string, null)
global_network_name = optional(string, null)
egress_only_gateway_name = optional(string, null)
gateway_name = optional(string, null)
nat_gateway_name = optional(string, null)
local_gateway_name = optional(string, null)
network_interface_name = optional(string, null)
transit_gateway_name = optional(string, null)
vpc_endpoint_name = optional(string, null)
vpc_peering_connection_name = optional(string, null)
}))
description = "Provides a resource to create a routing table entry (a route) in a VPC routing table."
}