How to change this line into for_each? I want to get resource ID of azurerm_network_connection_monitor. All these resources are iterated through for_each.
azu