Skip to content

Commit

Permalink
Disabled cluster logging
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeAjayi committed Oct 2, 2024
1 parent 9f30512 commit de9c65e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ module "aws-eks-kubernetes-cluster" {

} : {}
tags = local.tags
}
}
8 changes: 4 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ variable "cluster_name" {
variable "cluster_enabled_log_types" {
description = "A list of the desired control plane logs to enable. For more information, see Amazon EKS Control Plane Logging documentation (https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html)"
type = list(string)
default = ["audit", "api", "authenticator"]
default = []
}

variable "cluster_additional_security_group_ids" {
Expand Down Expand Up @@ -73,9 +73,9 @@ variable "create_cloudwatch_log_group" {
}

variable "cloudwatch_log_group_retention_in_days" {
description = "Number of days to retain log events. Default retention - 90 days"
description = "Number of days to retain log events. Default retention - 7 days"
type = number
default = 90
default = 7
}

################################################################################
Expand Down Expand Up @@ -392,4 +392,4 @@ variable "cluster_addons_eks_pod_identity_agent_additional_configurations" {
description = "Additional configurations for the kube proxy addon"
type = any
default = {}
}
}

0 comments on commit de9c65e

Please sign in to comment.