forked from Azure/appservice-landing-zone-accelerator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
144 lines (121 loc) · 4.29 KB
/
variables.tf
File metadata and controls
144 lines (121 loc) · 4.29 KB
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
variable "owner" {
type = string
description = "[Required] Email or unique ID of the owner(s) for this deployment"
}
variable "app_service_environment_name" {
description = "[Optional] The NAME of an already existing App Service Environment to deploy the App Service Plan to."
type = string
default = null
}
variable "app_service_environment_resource_group_name" {
description = "[Optional] The Resource Group NAME of an already existing App Service Environment to deploy the App Service Plan to. Will create a new ASE v3 if not provided."
type = string
default = null
}
variable "spoke_vnet_name" {
description = "[Optional] The VNET NAME of an already existing spoke VNET."
type = string
default = null
}
variable "spoke_vnet_resource_group_name" {
description = "[Optional] The Resource Group NAME of an already existing spoke VNET."
type = string
default = null
}
variable "private_dns_zone_name" {
description = "[Optional] The NAME of an already existing Private DNS Zone to deploy the App Service Plan to."
type = string
default = null
}
variable "private_dns_zone_resource_group_name" {
description = "[Optional] The Resource Group NAME of an already existing Private DNS Zone to deploy the App Service Plan to. Will create a new ASE v3 if not provided."
type = string
default = null
}
variable "application_name" {
description = "A short name for the workload being deployed"
type = string
}
variable "environment" {
description = "The environment for which the deployment is being executed"
type = string
default = "dev"
}
variable "location" {
description = "The Azure location where all resources should be created"
type = string
default = "westus2"
}
variable "hubVNetNameAddressPrefix" {
description = "CIDR prefix to use for Hub VNet"
type = list(string)
default = ["10.0.0.0/16"]
}
variable "spokeVNetNameAddressPrefix" {
description = "CIDR prefix to use for Spoke VNet"
type = list(string)
default = ["10.1.0.0/16"]
}
variable "bastionAddressPrefix" {
description = "CIDR prefix to use for Hub VNet"
type = list(string)
default = ["10.0.1.0/24"]
}
variable "CICDAgentNameAddressPrefix" {
description = "CIDR prefix to use for Spoke VNet"
type = list(string)
default = ["10.0.2.0/24"]
}
variable "jumpBoxAddressPrefix" {
description = "CIDR prefix to use for Jumpbox VNet"
type = list(string)
default = ["10.0.3.0/24"]
}
variable "aseAddressPrefix" {
description = "CIDR prefix to use for ASE"
type = list(string)
default = ["10.1.1.0/24"]
}
variable "numberOfWorkers" {
description = "numberOfWorkers for ASE"
type = number
default = 3
}
variable "workerPool" {
description = "workerPool for ASE"
type = number
default = 1
}
variable "vmAdminUsername" {
description = "admin username for the virtual machine (devops agent, jumpbox)"
type = string
default = "vmadmin"
}
variable "vmAdminPassword" {
description = "admin password for the virtual machine (devops agent, jumpbox). If none is provided, will be randomly generated and stored in the Key Vault"
type = string
default = null
}
variable "tags" {
type = map(string)
description = "[Optional] Additional tags to assign to your resources"
default = {}
}
variable "global_settings" {
description = "[Optional] Global settings to configure each module with the appropriate naming standards."
default = {}
}
variable "deployment_options" {
description = "[Optional] Deployment options to configure each module with the appropriate features."
default = {}
}
variable "vm_aad_admin_username" {
type = string
description = "[Optional] The Azure AD username for the VM admin account. If vm_aad_admin_object_id is not specified, this value will be used."
default = null
}
variable "vm_aad_admin_object_id" {
type = string
description = "The Azure AD username for the VM admin account. If vm_aad_admin_username is not specified, this value will be used."
default = null
}