Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add Name tag for EKS cloudwatch log group #2500

Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ resource "aws_cloudwatch_log_group" "this" {
retention_in_days = var.cloudwatch_log_group_retention_in_days
kms_key_id = var.cloudwatch_log_group_kms_key_id

tags = var.tags
tags = merge(
visokoo marked this conversation as resolved.
Show resolved Hide resolved
var.tags,
{ Name = "/aws/eks/${var.cluster_name}/cluster" }
)
}

################################################################################
Expand Down