-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
70 lines (60 loc) · 1.67 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
variable "suffix" {
type = list(string)
description = "Description: It is recommended that you specify a suffix for consistency. please use only lowercase characters when possible"
default = ["test", "code"]
}
variable "unique-number" {
type = bool
description = "Description: If you want to include numbers in the unique generation"
default = true
}
variable "unique-length" {
type = number
description = "Description: Max length of the uniqueness suffix to be added"
default = 6
}
variable "vnet-name" {
type = string
description = "Name of virtual network to create"
default = ""
}
variable "location" {
type = string
description = "Physical location of resources"
default = "canadacentral"
}
variable "resource_group_name" {
type = string
description = "Resource group name"
default = "test"
}
variable "dns-hostnum" {
type = number
description = "Whole number for binary within the cidr range"
default = 25
}
variable "cidr" {
type = string
description = "CIDR block which subnets are consumed from"
default = "10.0.0.0/24"
}
variable "subnets" {
type = list(object({
name = string
newbits = number
netnum = number
}))
default = [{
netnum = 4
newbits = 4
name = ""
}]
description = "Values which will control creation of subnets within the vnet. Reference terraform cidr variable docs & networking material"
}
variable "tags" {
type = map
default = { env = "dev",
cloud = "azure",
resource = "test"
}
}