-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
111 lines (93 loc) · 3.06 KB
/
variables.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#Module : LABEL
#Description : Terraform label module variables.
variable "name" {
type = string
default = ""
description = "Name (e.g. `app` or `cluster`)."
}
variable "repository" {
type = string
default = "https://github.com/clouddrove/terraform-azure-subnet.git"
description = "Terraform current module repo"
validation {
# regex(...) fails if it cannot find a match
condition = can(regex("^https://", var.repository))
error_message = "The module-repo value must be a valid Git repo link."
}
}
variable "environment" {
type = string
default = ""
description = "Environment (e.g. `prod`, `dev`, `staging`)."
}
variable "label_order" {
type = list(any)
default = []
description = "Label order, e.g. `name`,`application`."
}
variable "managedby" {
type = string
default = "hello@clouddrove.com"
description = "ManagedBy, eg 'CloudDrove'."
}
variable "enabled" {
type = bool
description = "Set to false to prevent the module from creating any resources."
default = true
}
variable "resource_group_name" {
type = string
default = ""
description = "A container that holds related resources for an Azure solution"
}
variable "location" {
type = string
default = ""
description = "Location where resource should be created."
}
variable "ampls_enabled" {
type = bool
description = "Set to false to prevent the module from creating ampls resource."
default = true
}
variable "linked_resource_ids" {
type = list(string)
default = [""]
description = "(Required) The name of the Azure Monitor Private Link Scoped Service. Changing this forces a new resource to be created."
}
variable "subnet_id" {
type = string
default = ""
description = "(Required) The ID of the Subnet from which Private IP Addresses will be allocated for this Private Endpoint. Changing this forces a new resource to be created."
}
variable "private_dns_zones_names" {
type = list(string)
default = [""]
description = "The name of the private dns zones from which private dns will be created for AMPLS"
}
variable "enable_private_endpoint" {
type = bool
default = true
description = "enable or disable private endpoint to storage account"
}
variable "azurerm_monitor_private_link_scope_id" {
type = string
default = null
description = "The id of the monitor private link scope from which private dns will be created for it"
}
variable "diff_sub" {
# To be set true when hosted DNS zone is in different subnscription.
type = bool
default = false
description = "Flag to tell whether dns zone is in different sub or not."
}
variable "diff_sub_resource_group_name" {
type = string
default = ""
description = "A container that holds related different subscription resources for an Azure solution"
}
variable "diff_sub_location" {
type = string
default = ""
description = "Location where different subscription resource should be created."
}