diff --git a/modules/eks/main.tf b/modules/eks/main.tf index b75b882..be20fb3 100644 --- a/modules/eks/main.tf +++ b/modules/eks/main.tf @@ -9,6 +9,8 @@ module "eks" { create_kms_key = false create_cloudwatch_log_group = true + enabled_cluster_log_types = [ "api", "audit", "authenticator", "controllerManager", "scheduler" ] + cloudwatch_log_group_retention_in_days = 2 cluster_encryption_config = {} cluster_addons = {