-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
69 lines (56 loc) · 1.09 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
variable "vpc_name" {
type = string
default = "terraform-vpc"
}
variable "vpc_cidr_block" {
type = string
default = "10.0.0.0/16"
}
variable "subnets_azs" {
type = list(string)
default = ["us-west-2a", "us-west-2b"]
}
variable "public_subnets" {
type = list(string)
default = ["10.0.1.0/24", "10.0.2.0/24"]
}
variable "private_subnets" {
type = list(string)
default = ["10.0.3.0/24", "10.0.4.0/24"]
}
variable "nat_gateways" {
type = bool
default = true
}
variable "security_group_name" {
type = string
default = "ssh"
}
variable "security_group_description" {
type = string
default = "Port 22"
}
variable "ingress_description" {
type = string
default = "Allow SSH access"
}
variable "ingress_protocol" {
type = string
default = "tcp"
}
variable "ingress_from_port" {
type = number
default = 22
}
variable "ingress_to_port" {
type = number
default = 22
}
variable "ingress_cidr_blocks" {
type = list(string)
default = ["0.0.0.0/0"]
}
variable "ingress_ipv6_cidr_blocks" {
type = list(string)
default = null
}