forked from Azure/terraform-azurerm-vnet
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
48 lines (40 loc) · 1.23 KB
/
variables.tf
File metadata and controls
48 lines (40 loc) · 1.23 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
variable "vnet_name" {
description = "Name of the vnet to create"
default = "acctvnet"
}
variable "resource_group_name" {
description = "Name of the resource group to be imported."
}
variable "address_space" {
type = list(string)
description = "The address space that is used by the virtual network."
default = ["10.0.0.0/16"]
}
# If no values specified, this defaults to Azure DNS
variable "dns_servers" {
description = "The DNS servers to be used with vNet."
default = []
}
variable "nsg_ids" {
description = "A map of subnet name to Network Security Group IDs"
type = map(string)
default = {
}
}
variable "tags" {
description = "The tags to associate with your network and subnets."
type = map(string)
default = {
ENV = "test"
}
}
variable "subnets" {
description = "List of maps containing Subnets and their inputs to be created."
default = [{
"name" = "subnet1"
"address_prefixes" = ["10.0.1.0/24"]
"enforce_private_link_endpoint_network_policies" = false
"enforce_private_link_service_network_policies" = false
"service_endpoints" = null
}]
}