-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
91 lines (72 loc) · 2.55 KB
/
variables.tf
File metadata and controls
91 lines (72 loc) · 2.55 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# 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_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 "enable_private_endpoint" {
description = "Manages a Private Endpoint to Azure Container Registry. Default is false."
default = false
}
variable "existing_private_dns_zone" {
description = "Name of the existing private DNS zone"
default = null
}
variable "private_subnet_address_prefix" {
description = "The name of the subnet for private endpoints"
default = null
}
variable "create_private_endpoint_subnet" {
description = "Controls if the subnet should be created. If set to false, the subnet name must be provided. Default is false."
type = bool
default = false
}
variable "existing_private_subnet_name" {
description = "Name of the existing subnet for the private endpoint"
default = null
}
variable "virtual_network_name" {
description = "Name of the virtual network for the private endpoint"
default = null
}
# Add more variables as needed