-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
50 lines (42 loc) · 995 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
44
45
46
47
48
49
50
variable "region" {
default = "us-west-2"
type = string
description = "AWS region"
}
variable "key_pair" {
type = string
description = "key pair for worker nodes"
}
variable "cluster_log_retention" {
type = number
description = "log retention period in days"
default = 90
}
variable "woker_volume_size" {
type = number
description = "worker node volume size in Gi"
default = 20
}
variable "cluster_name" {
default = "EKS"
type = string
description = "cluster name"
}
variable "vpc_cidr" {
default = "10.0.0.0/16"
type = string
description = "vpc cidr range"
}
variable "single_nat" {
default = true
type = bool
description = "single cidr required?"
}
variable "public_cidrs" {
type = list(string)
default = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"]
}
variable "private_cidrs" {
type = list(string)
default = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
}