forked from aztfm/terraform-azurerm-application-gateway
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
80 lines (80 loc) · 3.2 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
73
74
75
76
77
78
79
80
variable "name" {
type = string
description = "The name of the Application Gateway."
}
variable "resource_group_name" {
type = string
description = "The name of the resource group in which to create the Application Gateway."
}
variable "location" {
type = string
description = "The location/region where the Application Gateway is created."
}
variable "sku" {
type = map(string)
description = "A mapping with the sku configuration of the application gateway."
# sku = { tier = "", size = "", capacity = "" }
}
variable "autoscale_configuration" {
type = map(string)
default = {}
description = ""
# autoscale_configuration = { min_capacity = "", max_capacity = "" }
}
variable "subnet_id" {
type = string
description = "The ID of the Subnet which the Application Gateway should be connected to."
}
variable "waf_configuration" {
type = map(string)
default = {}
description = ""
# waf_configuration = { enabled = "", firewall_mode = "", rule_set_version = ""}
}
variable "frontend_ip_configuration" {
type = map(string)
description = "A mapping the front ip configuration."
# frontend_ip_configuration = { public_ip_address_id = "", private_ip_address = "", private_ip_address_allocation = "" }
}
variable "backend_address_pools" {
type = list(map(string))
description = "List of objects that represent the configuration of each backend address pool."
# backend_address_pools = [{ name = "", ip_addresses = "" }]
}
variable "identity_id" {
type = string
default = null
description = "Specifies a user managed identity id to be assigned to the Application Gateway."
}
variable "ssl_certificates" {
type = list(map(string))
default = []
description = "List of objects that represent the configuration of each ssl certificate."
# ssl_certificates = [{ name = "", data = "", password = "", key_vault_secret_id = "" }]
}
variable "http_listeners" {
type = list(map(string))
description = "List of objects that represent the configuration of each http listener."
# http_listeners = [{ name = "", frontend_ip_configuration = "", port = "", protocol = "", host_name = "", ssl_certificate_name = "" }]
}
variable "probes" {
type = list(map(string))
default = []
description = "List of objects that represent the configuration of each probe."
# probes = [{ name = "", host = "", protocol = "", path = "", interval = "", timeout = "", unhealthy_threshold = "" }]
}
variable "backend_http_settings" {
type = list(map(string))
description = "List of objects that represent the configuration of each backend http settings."
# backend_http_settings = [{ name = "", port = "", protocol = "", request_timeout = "", host_name = "", probe_name = "" }]
}
variable "request_routing_rules" {
type = list(map(string))
description = "List of objects that represent the configuration of each backend request routing rule."
# request_routing_rules = [{ name = "", http_listener_name = "", backend_address_pool_name = "", backend_http_settings_name = "" }]
}
variable "tags" {
type = map(string)
default = {}
description = "A mapping of tags to assign to the resource."
}