forked from DNXLabs/terraform-aws-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_variables.tf
87 lines (71 loc) · 2.27 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
variable "max_az" {
default = 3
description = "Max number of AZs"
}
variable "name" {
description = "Name prefix for the resources of this stack"
}
variable "vpc_cidr" {
description = "Network CIDR for the VPC"
}
variable "vpc_cidr_transit" {
default = "10.255.255.0/24"
description = "Network CIDR for Transit subnets"
}
variable "multi_nat" {
default = false
description = "Number of NAT Instances, 'true' will yield one per AZ while 'false' creates one NAT"
}
variable "newbits" {
default = 5
description = "Number of bits to add to the vpc cidr when building subnets"
}
variable "tags" {
type = "map"
default = {}
description = "Extra tags to attach to resources"
}
variable "public_netnum_offset" {
default = 0
description = "Start with this subnet for public ones, plus number of AZs"
}
variable "private_netnum_offset" {
default = 5
description = "Start with this subnet for private ones, plus number of AZs"
}
variable "secure_netnum_offset" {
default = 10
description = "Start with this subnet for secure ones, plus number of AZs"
}
variable "transit_netnum_offset" {
default = 15
description = "Start with this subnet for secure ones, plus number of AZs"
}
variable "transit_subnet" {
default = false
description = "Create a transit subnet for VPC peering (only central account)"
}
variable "public_nacl_inbound_tcp_ports" {
type = "list"
default = ["80", "443", "22", "1194"]
description = "TCP Ports to allow inbound on public subnet via NACLs (this list cannot be empty)"
}
variable "public_nacl_inbound_udp_ports" {
type = "list"
default = []
description = "UDP Ports to allow inbound on public subnet via NACLs (this list cannot be empty)"
}
variable "transit_nacl_inbound_tcp_ports" {
type = "list"
default = ["1194"]
description = "TCP Ports to allow inbound on transit subnet via NACLs (this list cannot be empty)"
}
variable "transit_nacl_inbound_udp_ports" {
type = "list"
default = ["1194"]
description = "UDP Ports to allow inbound on transit subnet via NACLs (this list cannot be empty)"
}
variable "vpc_flow_logs_retention" {
default = 365
description = "Retention in days for VPC Flow Logs CloudWatch Log Group"
}