generated from Azure/terraform-verified-module
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.naming.tf
46 lines (39 loc) · 1.34 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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# 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_naming" {
description = "Use the Azure NoOps 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 "custom_resource_group_name" {
description = "The name of the custom resource group to create. If not set, the name will be generated using the `org_name`, `workload_name`, `deploy_environment` and `environment` variables."
type = string
default = null
}
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_naming_for_databases" {
description = "Use the Azure NoOps naming provider to generate databases names."
type = bool
default = false
}