forked from Azure/terraform-azurerm-vnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
110 lines (92 loc) · 2.75 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
variable "resource_group_name" {
description = "Name of the resource group to be imported."
type = string
nullable = false
}
variable "use_for_each" {
description = "Use `for_each` instead of `count` to create multiple resource instances."
type = bool
nullable = false
}
variable "vnet_location" {
description = "The location of the vnet to create."
type = string
nullable = false
}
variable "address_space" {
type = list(string)
description = "The address space that is used by the virtual network."
default = ["10.0.0.0/16"]
}
variable "bgp_community" {
type = string
description = "(Optional) The BGP community attribute in format `<as-number>:<community-value>`."
default = null
}
variable "ddos_protection_plan" {
description = "The set of DDoS protection plan configuration"
type = object({
enable = bool
id = string
})
default = null
}
# If no values specified, this defaults to Azure DNS
variable "dns_servers" {
description = "The DNS servers to be used with vNet."
type = list(string)
default = []
}
variable "nsg_ids" {
description = "A map of subnet name to Network Security Group IDs"
type = map(string)
default = {
}
}
variable "route_tables_ids" {
description = "A map of subnet name to Route table ids"
type = map(string)
default = {}
}
variable "subnet_delegation" {
description = "A map of subnet name to delegation block on the subnet"
type = map(map(any))
default = {}
}
variable "subnet_enforce_private_link_endpoint_network_policies" {
description = "A map of subnet name to enable/disable private link endpoint network policies on the subnet."
type = map(bool)
default = {}
}
variable "subnet_enforce_private_link_service_network_policies" {
description = "A map of subnet name to enable/disable private link service network policies on the subnet."
type = map(bool)
default = {}
}
variable "subnet_names" {
description = "A list of public subnets inside the vNet."
type = list(string)
default = ["subnet1", "subnet2", "subnet3"]
}
variable "subnet_prefixes" {
description = "The address prefix to use for the subnet."
type = list(string)
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
}
variable "subnet_service_endpoints" {
description = "A map of subnet name to service endpoints to add to the subnet."
type = map(any)
default = {}
}
variable "tags" {
description = "The tags to associate with your network and subnets."
type = map(string)
default = {
ENV = "test"
}
}
variable "vnet_name" {
description = "Name of the vnet to create"
type = string
default = "acctvnet"
}