-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
97 lines (80 loc) · 2.78 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// Note that some of the .tf files also have variable and output blocks to make them individually complete
variable "spoke" {
type = string
description = "Used for both the vnet and the resource group, and to prefix resources."
default = "spoke"
}
variable "spoke_vnet_address_space" {
description = "List of address spaces for the virtual network. One /24 address space is expected."
type = list(string)
default = ["10.0.0.0/24"]
}
variable "dns_servers" {
description = "Optional list of DNS server IP addresses."
type = list(string)
default = null
}
variable "aad" {
description = "Optional list of AAD objectIds to add to key vault access."
type = list(string)
default = []
}
// -----------------------------------------------------------
variable "application_gateway_public_frontend" {
description = "Boolean to specify listeners on the public frontend rather than the default private frontend."
type = bool
default = false
}
variable "application_gateway_backend_pool_names" {
description = "List of backend pools to create in the application gateway. Also used to create matching application security groups."
type = list(string)
default = []
}
variable "application_gateway_path_map" {
description = "Map of lists, keyed by application gateway backend pools and with a list if URL paths."
type = map(list(string))
default = {}
}
variable "application_gateway_default_uri" {
description = "Default URI to use if none of the path maps apply. Use either application_gateway_default_uri or application_gateway_default_backend_address_pool_name."
type = string
default = null
}
variable "application_gateway_default_backend_address_pool_name" {
description = "Default backend pool to use if none of the path maps apply. Use either application_gateway_default_uri or application_gateway_default_backend_address_pool_name."
type = string
default = null
}
// -----------------------------------------------------------
variable "tenant_id" {
// Switch to current tenant_id as per the hub?
description = "The AAD tenant guid."
type = string
}
variable "subscription_id" {
description = "The subscription guid."
type = string
}
// variable "client_id" {
// description = "The application id for the service principal."
// type = string
// }
//
// variable "client_secret" {
// type = string
// description = "The password for the service principal."
// default = ""
// }
variable "location" {
default = "West Europe"
}
variable "tags" {
type = object({
owner = string
business_unit = string
costcode = number
downtime = string
env = string
enforce = bool
})
}