-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
39 lines (32 loc) · 1014 Bytes
/
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
variable "name" {
description = "(Required) The name for the virtual network."
type = string
}
variable "address_space" {
description = "(Required) The assigned address spaces in CIDR for the virtual network."
type = list(string)
default = ["10.0.0.0/16"]
}
variable "dns_servers" {
description = "(Optional) The ip addresses in list format for the custom dns servers."
type = list(string)
default = []
}
variable "subnets" {
description = "(Required) A list of objects describing the subnet resources required."
type = list(object({
subnet_name = string
address_prefixes = list(string)
}))
}
variable "resource_group_name" {
description = "(Required) A pre-existing resource group for deploying the resources."
}
variable "location" {
description = "(Required) A location for deploying the resources."
}
variable "tags" {
description = "The tags to associate with your network and subnets."
type = map(string)
default = {}
}