-
Notifications
You must be signed in to change notification settings - Fork 2
/
vpc.network-variables.tf
103 lines (72 loc) · 2.43 KB
/
vpc.network-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
### ########### ###
### in_vpc_cidr ###
### ########### ###
variable in_vpc_cidr {
description = "The CIDr block defining the range of IP addresses allocated to this VPC."
default = "10.42.0.0/16"
type = string
}
### ###################### ###
### in_num_private_subnets ###
### ###################### ###
variable in_num_private_subnets {
description = "The number of private subnets to create (defaults to 3 if not specified)."
default = 3
type = number
}
### ##################### ###
### in_num_public_subnets ###
### ##################### ###
variable in_num_public_subnets {
description = "The number of public subnets to create (defaults to 3 if not specified)."
default = 3
type = number
}
### ############## ###
### in_subnets_max ###
### ############## ###
variable in_subnets_max {
description = "Two to the power of in_subnets_max is the maximum number of subnets carvable from VPC described by in_vpc_cidr."
default = 4
type = number
}
### ######################## ###
### in_create_public_gateway ###
### ######################## ###
variable in_create_public_gateway {
description = "An internet gateway and route is created unless this variable is supplied as false."
default = true
type = bool
}
### ######################### ###
### in_create_private_gateway ###
### ######################### ###
variable in_create_private_gateway {
description = "If private subnets exist an EIP, a NAT gateway, route and subnet association are created unless this variable is supplied as false."
default = true
type = bool
}
### ############ ###
### in_ecosystem ###
### ############ ###
variable in_ecosystem {
description = "Creational stamp binding all infrastructure components created on behalf of this ecosystem instance."
default = "vpc-network"
type = string
}
### ############ ###
### in_timestamp ###
### ############ ###
variable in_timestamp {
description = "A timestamp for resource tags in the format ymmdd-hhmm like 80911-1435"
default = "timestamp"
type = string
}
### ############## ###
### in_description ###
### ############## ###
variable in_description {
description = "Ubiquitous note detailing who, when, where and why for every infrastructure component."
default = "This VPC network was created for an ecosystem."
type = string
}