-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
43 lines (37 loc) · 904 Bytes
/
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
variable "env" {}
variable "vpc_id" {}
variable "private_route_table_id" {}
variable "public_subnets" {}
variable "ec2_key_pair_name" {}
variable "name" {
description = "NAT instance name"
type = string
default = "nat-instance"
}
variable "instance_type" {
description = "NAT instance type"
type = string
default = "t4g.nano"
}
variable "architecture" {
description = "NAT instance architecture"
type = list(string)
default = ["arm64"]
}
variable "enabled" {
description = "Gives ability to enable or disable creation of NAT EC2"
type = bool
default = false
}
variable "eip_enabled" {
description = "Gives ability to enable or disable creation of Elastic IP"
type = bool
default = false
}
variable "allowed_cidr_blocks" {
description = "List of network subnets that are allowed"
type = list(string)
default = [
"0.0.0.0/0"
]
}