I have a module which has a variable defined using for_each, and its output is as below:
output "nic_ids" { value = [for x in azurerm_n