-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathvariables-naming.tf
43 lines (37 loc) · 1.16 KB
/
variables-naming.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
# Generic naming variables
variable "name_prefix" {
description = "Optional prefix for the generated name"
type = string
default = ""
}
variable "name_suffix" {
description = "Optional suffix for the generated name"
type = string
default = ""
}
variable "use_caf_naming" {
description = "Use the Azure CAF naming provider to generate default resource name. `custom_aks_name` override this if set. Legacy default name is used if this is set to `false`."
type = bool
default = true
}
# Custom naming override
variable "aadpodidentity_custom_name" {
description = "Custom name for aad pod identity MSI"
type = string
default = "aad-pod-identity"
}
variable "custom_aks_name" {
description = "Custom AKS name"
type = string
default = ""
}
variable "aks_user_assigned_identity_custom_name" {
description = "Custom name for the aks user assigned identity resource"
type = string
default = null
}
variable "appgw_user_assigned_identity_custom_name" {
description = "Custom name for the application gateway user assigned identity resource"
type = string
default = null
}