forked from Azure/caf-terraform-landingzones
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
186 lines (153 loc) · 3.24 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
# Map of the current tfstate
variable tfstate_storage_account_name {
default = null
}
variable tfstate_container_name {
default = null
}
variable tfstate_key {
default = null
}
variable tfstate_resource_group_name {
default = null
}
variable tenant_id {}
variable landingzone {
description = "The landing zone name is used to reference the tfstate in configuration files. Therefore while set it is recommended not to change"
}
variable passthrough {
default = false
}
variable random_length {
default = null
}
variable inherit_tags {
default = false
}
variable default_region {
description = "Define the default region where services are deployed if the location is not set at the resource level"
default = "region1"
}
variable regions {
type = map
description = "List of the regions where services can be deployed. This impact the diagnostics logs settings"
default = {
region1 = "southeastasia"
}
}
variable enable {
description = "Map of services defined in the configuration file you want to disable during a deployment"
default = {}
}
variable prefix {
default = null
}
variable use_slug {
default = true
}
variable log_analytics {
default = {}
}
variable event_hub_namespaces {
default = {}
}
# Do not change the default value to be able to upgrade to the standard launchpad
variable tf_name {
description = "Name of the terraform state in the blob storage (Does not include the extension .tfstate). Setup by the rover. Leave empty in the configuration file"
default = ""
}
variable resource_groups {}
variable storage_accounts {}
variable diagnostic_storage_accounts {
default = {}
}
variable keyvaults {}
variable keyvault_access_policies {
default = {}
}
variable dynamic_keyvault_secrets {}
variable subscriptions {
default = {}
}
## Azure Active Directory
variable azuread_apps {
default = {}
}
variable azuread_groups {
default = {}
}
variable azuread_users {
default = {}
}
variable azuread_roles {
default = {}
}
variable managed_identities {
default = {}
}
variable virtual_machines {
description = "Virtual machine object"
default = {}
}
variable bastion_hosts {
default = {}
}
variable launchpad_key_names {}
variable custom_role_definitions {
default = {}
}
variable role_mapping {
default = {
built_in_role_mapping = {}
custom_role_mapping = {}
}
}
variable tags {
type = map
default = {}
}
variable rover_version {}
variable user_type {}
variable logged_user_objectId {
default = null
}
variable logged_aad_app_objectId {
default = null
}
variable aad_users {
default = {}
}
variable aad_roles {
default = {}
}
variable azuread_api_permissions {
default = {}
}
variable environment {
type = string
description = "This variable is set by the rover during the deployment based on the -env or -environment flags. Default to sandpit"
}
variable diagnostics_definition {
default = {}
}
variable diagnostics_destinations {
default = {}
}
variable vnets {
default = {}
}
variable network_security_group_definition {
default = {}
}
variable public_ip_addresses {
default = {}
}
variable route_tables {
default = {}
}
variable azurerm_routes {
default = {}
}
variable keyvault_access_policies_azuread_apps {
default = {}
}