forked from claranet/terraform-azurerm-app-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables-naming.tf
49 lines (42 loc) · 1.25 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
44
45
46
47
48
49
# 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_name` override this if set. Legacy default name is used if this is set to `false`."
type = bool
default = true
}
# Custom naming override
variable "service_plan_custom_name" {
description = "Name of the App Service Plan, generated if not set."
type = string
default = ""
}
variable "app_service_custom_name" {
description = "Name of the App Service, generated if not set."
type = string
default = ""
}
variable "application_insights_custom_name" {
description = "Name of the Application Insights, generated if not set."
type = string
default = ""
}
variable "staging_slot_custom_name" {
type = string
description = "Custom name of the app service slot"
default = null
}
variable "backup_custom_name" {
description = "Custom name for backup"
type = string
default = null
}