forked from Azure/terraform-azurerm-vnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
55 lines (45 loc) · 1.32 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
variable "vnet_name" {
description = "Name of the vnet to create"
default = "acctvnet"
}
variable "resource_group_name" {
description = "Default resource group name that the network will be created in."
default = "myapp-rg"
}
variable "location" {
description = "The location/region where the core network will be created. The full list of Azure regions can be found at https://azure.microsoft.com/regions"
default = "westus"
}
variable "address_space" {
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 "subnet_prefixes" {
description = "The address prefix to use for the subnet."
default = ["10.0.1.0/24"]
}
variable "subnet_names" {
description = "A list of public subnets inside the vNet."
default = ["subnet1", "subnet2", "subnet3"]
}
variable "nsg_ids" {
description = "A map of subnet name to Network Security Group IDs"
type = "map"
default = {
subnet1 = "nsgid1"
subnet3 = "nsgid3"
}
}
variable "tags" {
description = "The tags to associate with your network and subnets."
type = "map"
default = {
tag1 = ""
tag2 = ""
}
}