-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
variables.tf
37 lines (32 loc) · 984 Bytes
/
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
variable "name" {
type = string
description = "The name of the route table."
}
variable "resource_group_name" {
type = string
description = "The name of the resource group in which to create the route table."
}
variable "location" {
type = string
description = "The location/region where the route table is created."
}
variable "tags" {
type = map(string)
default = {}
description = "A mapping of tags to assign to the resource."
}
variable "disable_bgp_route_propagation" {
type = bool
default = true
description = "Boolean flag which controls propagation of routes learned by BGP on that route table."
}
variable "routes" {
type = list(object({
name = string
address_prefix = string
next_hop_type = string
next_hop_in_ip_address = optional(string)
}))
default = []
description = "List of objects that represent the configuration of each route."
}