Skip to content

Commit

Permalink
use node_security_group for the node pools
Browse files Browse the repository at this point in the history
  • Loading branch information
jdongo-aneo committed Nov 15, 2024
1 parent b623120 commit 7448e67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kubernetes/aws/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ locals {
for key, value in var.eks_managed_node_groups : key => merge(value, {
name = can(coalesce(value.name)) ? "${try(value.name, "")}-${var.name}" : "${key}-${var.name}",
enable_bootstrap_user_data = can(coalesce(value.ami_id))
vpc_security_group_ids = [module.eks.node_security_group_id]
})
}

Expand Down

0 comments on commit 7448e67

Please sign in to comment.