-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
194 lines (155 loc) · 3.69 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
variable "environment" {
type = string
}
variable "productname" {
description = "Product Name from Naming module"
type = string
}
variable "ldap_user" {
sensitive = true
}
variable "ldap_pass" {
sensitive = true
}
variable "ldap_server" {
type = string
}
variable "ldap_adminGroupName" {
type = string
}
variable "ldap_filesBasedn" {
type = string
}
variable "ldap_groupsBasedn" {
type = string
}
variable "ldap_resourcesBasedn" {
type = string
}
variable "ldap_sudoersBasedn" {
type = string
}
variable "ldap_systemBasedn" {
type = string
}
variable "ldap_usersBasedn" {
type = string
}
variable "ldap_workunitsBasedn" {
type = string
}
variable "azure_admin_subnets" {
}
variable "sku_tier" {
type = string
default = "Free"
}
variable "firewall_ip" {
type = string
default = "10.241.2.68"
}
variable "expressroute_id" {
type = string
default = "/subscriptions/977f34c1-5bba-493d-bba9-815edf8f5fc4/resourceGroups/shared-expressroute-prod-eastus-businesssvc-nonprod/providers/Microsoft.Network/virtualNetworks/networks-production-eastus-vnet"
}
variable "cidr_block" {
type = string
}
variable "cidr_block_acr" {
type = string
}
variable "cidr_block_app" {
type = string
}
variable "cidr_block_storage" {
type = string
}
variable "create_network_security_group" {
description = "Create/associate network security group"
type = bool
default = true
}
variable "configure_nsg_rules" {
description = "Configure network security group rules"
type = bool
default = true # false
}
variable "allow_internet_outbound" {
description = "allow outbound traffic to internet"
type = bool
default = true
}
variable "allow_lb_inbound" {
description = "allow inbound traffic from Azure Load Balancer"
type = bool
default = true
}
variable "allow_vnet_inbound" {
description = "allow all inbound from virtual network"
type = bool
default = true
}
variable "allow_vnet_outbound" {
description = "allow all outbound from virtual network"
type = bool
default = true
}
variable "enforce_private_link_endpoint_network_policies" {
description = "Enforce private link endpoint network policies?"
type = bool
default = true
}
variable "api_server_authorized_ip_ranges" {
description = "Map of authorized CIDRs / IPs"
type = map(string)
}
variable "storage_account_authorized_ip_ranges" {
description = "Map of authorized CIDRs / IPs"
type = map(string)
}
# HPCC
variable "hpcc_storage_config" {
description = "Storage config for hpcc"
type = map(object({
container_name = string
size = string
})
)
}
variable "hpcc_helm_chart_version" {
description = "HPCC helm chart version"
type = string
}
variable "hpcc_container" {
description = "HPCC container registry info."
type = object({
image_name = string
image_root = string
version = string
})
sensitive = true
# default = null
}
variable "tfe_prod_subnet_id" {
description = "Terraform enterprise Subnet id"
type = string
default = "/subscriptions/debc4966-2669-4fa7-9bd9-c4cdb08aed9f/resourceGroups/app-tfe-prod-useast2/providers/Microsoft.Network/virtualNetworks/core-production-useast2-vnet/subnets/iaas-public"
}
# JFrog
variable "jfrog_registry" {
description = "values to set as secrets for JFrog repo access"
type = object({
image_root = string
image_name = string
version = string
})
sensitive = true
}
variable "jfrog_auth" {
description = "values to set as secrets for JFrog repo access"
type = object({
username = string
password = string # API Token
})
sensitive = true
}