-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
72 lines (60 loc) · 2.15 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
variable "location" {
description = "(Optional) The location/region where the load balancer will be created. If not provided, will use the location of the resource group."
default = ""
type = string
}
variable "resource_group_name" {
description = "(Required) The name of the existing resource group where the load balancer resources will be placed."
type = string
}
variable "prefix" {
description = "(Required) Default prefix to use with your resource names."
type = string
}
variable "remote_port" {
description = "Protocols to be used for remote vm access. [protocol, backend_port]. Frontend port will be automatically generated starting at 50000 and in the output."
default = {}
type = map(list(string))
}
variable "lb_port" {
description = "Protocols to be used for lb health probes and rules. [frontend_port, protocol, backend_port]"
default = {}
type = map(list(string))
}
variable "lb_probe_unhealthy_threshold" {
description = "(Optional) Number of times the load balancer health probe has an unsuccessful attempt before considering the endpoint unhealthy. Default = 2."
default = 2
type = number
}
variable "lb_probe_interval" {
description = "Interval in seconds the load balancer health probe rule does a check"
default = 5
type = number
}
variable "frontend_name" {
description = "(Optional) Specifies the name of the frontend ip configuration."
default = "FrontendIP"
type = string
}
variable "tags" {
type = map(string)
description = "(optional) Tags to use in addition to tags assigned to the resource group."
default = {
source = "terraform"
}
}
variable "type" {
type = string
description = "(Optional) Defined if the loadbalancer is private or public. Default private."
default = "private"
}
variable "subnet_id" {
description = "(Optional) Frontend subnet id to use when in private mode"
default = ""
type = string
}
variable "private_ip_address" {
description = "(Optional) Private ip address to assign to frontend. Use it with type = private"
default = ""
type = string
}