generated from Azure/terraform-verified-module
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.globals.tf
70 lines (56 loc) · 1.96 KB
/
variables.globals.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
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
###########################
# Global Configuration ##
###########################
variable "location" {
description = "Azure region in which instance will be hosted"
type = string
}
variable "environment" {
description = "The Terraform backend environment e.g. public or usgovernment"
type = string
}
variable "deploy_environment" {
description = "Name of the workload's environment"
type = string
}
variable "workload_name" {
description = "Name of the workload_name"
type = string
}
variable "org_name" {
description = "Name of the organization"
type = string
}
#######################
# RG Configuration ##
#######################
variable "create_app_resource_group" {
description = "Controls if the resource group should be created. If set to false, the resource group name must be provided. Default is false."
type = bool
default = false
}
variable "use_location_short_name" {
description = "Use short location name for resources naming (ie eastus -> eus). Default is true. If set to false, the full cli location name will be used. if custom naming is set, this variable will be ignored."
type = bool
default = true
}
variable "existing_resource_group_name" {
description = "The name of the existing resource group to use. If not set, the name will be generated using the `org_name`, `workload_name`, `deploy_environment` and `environment` variables."
type = string
default = null
}
#####################################
# Private Endpoint Configuration ##
#####################################
variable "virtual_network_name" {
description = "The name of the virtual network of the private endpoint"
type = string
default = null
}
variable "private_endpoint_subnet_name" {
description = "The name of the subnet of the private endpoint"
type = string
default = null
}