-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
60 lines (51 loc) · 1.62 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
# Terraform Variables
variable "eks_cluster_prefix" {
description = "To apply generic naming to EKS Cluster"
type = string
default = "source4learn"
}
variable "eks_cluster_environment" {
description = "To apply generic environment to EKS Cluster"
type = string
default = "devops"
}
variable "kubernetes_version" {
description = "Kubernetes version for EKS Cluster"
type = string
default = "1.19"
}
variable "subnet_ids" {
description = "List of VPC Subnets to be set in EKS Cluster"
type = list(any)
default = ["subnet-d12321b9", "subnet-4a245706", "subnet-38299343"]
}
variable "eks_cluster_enabled_log_types" {
description = "List of Control Plane Logging options to enable"
type = list(any)
default = ["api", "audit"]
}
variable "eks_cluster_log_retention_in_days" {
description = "Cloudwatch log events retention period in days for EKS Cluster"
type = number
default = 7
}
variable "eks_cluster_service_ipv4_cidr" {
description = "EKS Cluster - Kubernetes Service IP address range"
type = string
default = "10.43.0.0/16"
}
variable "eks_cluster_create_timeout" {
description = "Average wait time in minutes for the EKS Cluster to be created"
type = string
default = "30m"
}
variable "eks_cluster_delete_timeout" {
description = "Average wait time in minutes for the EKS Cluster to be deleted"
type = string
default = "15m"
}
variable "eks_cluster_update_timeout" {
description = "Average wait time in minutes for the EKS Cluster to be updated"
type = string
default = "60m"
}