diff --git a/terraform/output.tf b/terraform/output.tf index e94db4c..0776b42 100644 --- a/terraform/output.tf +++ b/terraform/output.tf @@ -30,14 +30,12 @@ output "vm_tag_data" { } } -output "inventory" { - source = "./modules/proxmox_ansible_inventory" - filename = "${abspath("${path.root}/..")}/ansible/inventory/inventory.yml" - instances = local.vm_created +output "inventory_file" { + description = "Path to the generated Ansible inventory" + value = module.inventory.filename } -output "vm_data" { - source = "./modules/proxmox_vm_data" - filename = "${abspath("${path.root}/..")}/terraform/vm_data.yml" - instances = local.vm_created -} \ No newline at end of file +output "vm_data_file" { + description = "Path to the generated VM data file" + value = mod.vm_data.filename +}