output "vms" { description = "Map of hostname to IP and Ansible group — consumed by make tf-inventory" value = { for name, cfg in local.vms : name => { ip = split("/", cfg.ip)[0] group = cfg.group } } }