File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ output "eks_managed_node_groups" {
179179
180180output "eks_managed_node_groups_autoscaling_group_names" {
181181 description = " List of the autoscaling group names created by EKS managed node groups"
182- value = flatten ([for group in module . eks_managed_node_group : group . node_group_autoscaling_group_names ])
182+ value = compact ( flatten ([for group in module . eks_managed_node_group : group . node_group_autoscaling_group_names ]) )
183183}
184184
185185# ###############################################################################
@@ -193,7 +193,7 @@ output "self_managed_node_groups" {
193193
194194output "self_managed_node_groups_autoscaling_group_names" {
195195 description = " List of the autoscaling group names created by self-managed node groups"
196- value = [for group in module . self_managed_node_group : group . autoscaling_group_name ]
196+ value = compact ( [for group in module . self_managed_node_group : group . autoscaling_group_name ])
197197}
198198
199199# ###############################################################################
You can’t perform that action at this time.
0 commit comments