Skip to content
Merged
Changes from all 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
2 changes: 1 addition & 1 deletion modules/kubernetes_cluster/eks_standard/1.0/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ locals {

# Container Insights
container_insights_enabled = lookup(var.instance.spec, "container_insights_enabled", false)
needs_cloudwatch_iam_policy = contains(keys(local.enabled_cluster_addons), "amazon-cloudwatch-observability")
needs_cloudwatch_iam_policy = local.container_insights_enabled

# KMS key for secrets encryption (only if enabled)
enable_kms_key = lookup(var.instance.spec, "customer_managed_kms", true)
Expand Down