-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
57 lines (51 loc) · 1.17 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
variable "name" {
description = "Common name, a unique identifier"
type = string
}
variable "vpc_cidr" {
description = "IP range in CIDR notation"
type = string
default = "10.0.0.0/16"
}
variable "ipv6_enabled" {
description = "Whether or not IPv6 should be enabled"
type = bool
default = true
}
variable "vpc_flow_log_enabled" {
description = "Whether ot not VPC flow log should be enabled. NOTE: additional charges apply"
type = bool
default = false
}
variable "subnets" {
description = "A list of subnet declarations"
type = list(object(
{
name = string
ig_attached = bool
tags = map(string)
}
))
default = [
{
name = "public"
ig_attached = true
tags = {}
},
{
name = "private"
ig_attached = false
tags = {}
}
]
}
variable "newbits" {
description = "How much VPC prefix must be shrunk for subnet allocation"
type = number
default = 8
}
variable "extra_tags" {
description = "Map of additional tags to add to module's resources"
type = map(string)
default = {}
}