This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 281
/
variables.tf
134 lines (115 loc) · 3.52 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
variable "resource_group_name" {
type = string
description = "Name of the resource group to be imported."
nullable = false
}
variable "vnet_location" {
type = string
description = "The location of the vnet to create."
nullable = false
}
variable "address_space" {
type = list(string)
default = ["10.0.0.0/16"]
description = "The address space that is used by the virtual network."
}
variable "bgp_community" {
type = string
default = null
description = "(Optional) The BGP community attribute in format `<as-number>:<community-value>`."
}
variable "ddos_protection_plan" {
type = object({
enable = bool
id = string
})
default = null
description = "The set of DDoS protection plan configuration"
}
# If no values specified, this defaults to Azure DNS
variable "dns_servers" {
type = list(string)
default = []
description = "The DNS servers to be used with vNet."
}
variable "enable_telemetry" {
type = bool
default = true
description = <<DESCRIPTION
This variable controls whether or not telemetry is enabled for the module.
For more information see https://aka.ms/avm/telemetryinfo.
If it is set to false, then no telemetry will be collected.
DESCRIPTION
nullable = false
}
variable "nsg_ids" {
type = map(string)
default = {
}
description = "A map of subnet name to Network Security Group IDs"
}
variable "route_tables_ids" {
type = map(string)
default = {}
description = "A map of subnet name to Route table ids"
}
variable "subnet_delegation" {
type = map(map(any))
default = {}
description = "A map of subnet name to delegation block on the subnet"
}
variable "subnet_enforce_private_link_endpoint_network_policies" {
type = map(bool)
default = {}
description = "A map of subnet name to enable/disable private link endpoint network policies on the subnet."
}
variable "subnet_enforce_private_link_service_network_policies" {
type = map(bool)
default = {}
description = "A map of subnet name to enable/disable private link service network policies on the subnet."
}
variable "subnet_names" {
type = list(string)
default = ["subnet1", "subnet2", "subnet3"]
description = "A list of public subnets inside the vNet."
}
variable "subnet_prefixes" {
type = list(string)
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
description = "The address prefix to use for the subnet."
}
variable "subnet_service_endpoints" {
type = map(any)
default = {}
description = "A map of subnet name to service endpoints to add to the subnet."
}
variable "tags" {
type = map(string)
default = {}
description = "The tags to associate with your network and subnets."
}
# tflint-ignore: terraform_unused_declarations
variable "tracing_tags_enabled" {
type = bool
default = false
description = "Whether enable tracing tags that generated by BridgeCrew Yor."
nullable = false
}
# tflint-ignore: terraform_unused_declarations
variable "tracing_tags_prefix" {
type = string
default = "avm_"
description = "Default prefix for generated tracing tags"
nullable = false
}
variable "use_for_each" {
type = bool
default = true
description = "Use `for_each` instead of `count` to create multiple resource instances. Defaults to `true`."
nullable = false
}
variable "vnet_name" {
type = string
default = "acctvnet"
description = "Name of the vnet to create"
}