generated from tothenew/terraform-aws-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_variables-naming.tf
37 lines (32 loc) · 1.03 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
# 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. `server_custom_name` and `elastic_pool_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 "server_custom_name" {
description = "Name of the SQL Server, generated if not set."
type = string
default = ""
}
variable "elastic_pool_custom_name" {
description = "Name of the SQL Elastic Pool, generated if not set."
type = string
default = ""
}
variable "use_caf_naming_for_databases" {
description = "Use the Azure CAF naming provider to generate databases names."
type = bool
default = false
}