diff --git a/modules/node_groups/locals.tf b/modules/node_groups/locals.tf index 96b04ccdab..ac28b9a775 100644 --- a/modules/node_groups/locals.tf +++ b/modules/node_groups/locals.tf @@ -26,7 +26,7 @@ locals { v, ) if var.create_eks } - node_groups_names = { for k, v in node_groups_expanded : k => lookup( + node_groups_names = { for k, v in local.node_groups_expanded : k => lookup( v, "name", lookup(