mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-03-17 23:13:46 +01:00
Added Option to use KMS key for cloudwatch logs group. (#404)
This commit is contained in:
committed by
Max Williams
parent
8260f1095e
commit
ba3377360e
@@ -2,6 +2,7 @@ resource "aws_cloudwatch_log_group" "this" {
|
||||
count = length(var.cluster_enabled_log_types) > 0 ? 1 : 0
|
||||
name = "/aws/eks/${var.cluster_name}/cluster"
|
||||
retention_in_days = var.cluster_log_retention_in_days
|
||||
kms_key_id = var.cluster_log_kms_key_id
|
||||
}
|
||||
|
||||
resource "aws_eks_cluster" "this" {
|
||||
|
||||
Reference in New Issue
Block a user