-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
85 lines (71 loc) · 1.79 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
######################
# vpc/variables.tf #
######################
variable "create_private_subnets" {
description = "Create private subnets flag"
type = bool
default = false
}
variable "cidr_block" {
description = "The CIDR block defining the private IP address space used"
type = string
}
variable "enable_flow_log" {
description = "Flag to enable/disable vpc flow log"
type = bool
default = false
}
variable "flow_log_retention_in_days" {
description = "Flow logs retention in days"
type = number
default = 0
}
variable "name" {
description = "VPC name"
type = string
}
variable "number_of_aws_az_use" {
description = "How many aws avaibility zones use for deployment"
type = number
default = 2
}
variable "number_of_nat_gw" {
description = "Number of nat gateway for private subnets"
type = number
default = 1
}
variable "nat_instance_type" {
description = "NAT instance type"
type = string
default = "t3.nano"
}
variable "nat_instance_key_name" {
description = "NAT instance key pair name"
type = string
default = ""
}
variable "nat_instance_ami_id" {
description = "NAT instance AMI id"
type = string
default = ""
}
variable "nat_instance_sg_ingress" {
description = "Ingress for Nat instance Security Group"
type = list(any)
default = []
}
variable "nat_instance_sg_egress" {
description = "Egress for Nat instance Security Group"
type = list(any)
default = []
}
variable "nat_type" {
description = "NAT type i.e `instance` or `gateway`"
type = string
default = ""
}
variable "subnet_mask_bits" {
description = "Number of bits to use in CIDR subnet mask"
type = number
default = 8
}