output "ids" { value = [for rgname, rg in var.rgs: try(azurerm_resource_group.azrg[rgname].id, null)] description = "List of resource group ids." }