From e40fb6742ac9577839b54439d7eaec6641c55074 Mon Sep 17 00:00:00 2001 From: CC Date: Thu, 21 May 2026 17:40:30 +0100 Subject: [PATCH] ci/cd abs path --- terraform/output.tf | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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 +}