Skip to content

Commit a3efee6

Browse files
committed
chore: merge conflicts
1 parent 9975721 commit a3efee6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ module "eks" {
160160
create_node_security_group = var.create_node_security_group
161161
endpoint_private_access = true
162162
endpoint_public_access = var.cluster_endpoint_public_access
163-
enabled_log_types = []
163+
enabled_log_types = var.cluster_enabled_log_types
164164

165165
vpc_id = var.stack_existing_vpc_config != null ? var.stack_existing_vpc_config.vpc_id : module.vpc.vpc_id
166166
subnet_ids = var.stack_existing_vpc_config != null ? var.stack_existing_vpc_config.subnet_ids : module.vpc.private_subnets

variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ variable "vpc_endpoints" {
193193
description = "vpc endpoints within the cluster vpc network, note: this only works when using the internal created VPC"
194194
default = []
195195
}
196+
variable "cluster_enabled_log_types" {
197+
type = list(string)
198+
default = []
199+
description = "List of EKS control plane log types to enable. Valid values: api, audit, authenticator, controllerManager, scheduler."
200+
}
196201

197202
variable "cluster_endpoint_public_access" {
198203
type = bool

0 commit comments

Comments
 (0)