-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
executable file
·63 lines (53 loc) · 1.52 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
# Terraform Variables
variable "cluster_prefix" {
description = "To apply generic naming to EKS Cluster"
type = string
default = "source4learn"
}
variable "region" {
description = "Aws Region for the infrastructure"
type = string
}
variable "cidr" {
description = "cidr"
type = string
}
variable "subnet_bits" {
description = "Subnet bits"
type = number
}
variable "kubernetes_version" {
description = "Kubernetes version for EKS Cluster"
type = string
default = "1.19"
}
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"
}