Add infrastructure packages: terraform-pve, ansible-push, wolfstack-keepalived, terraform-pve-vm

This commit is contained in:
Artemis
2026-06-14 19:52:52 -04:00
parent e54307d46d
commit 6f4c54cdbb
49 changed files with 2031 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
output "vm_names" {
description = "Created VM names"
value = [for vm in proxmox_virtual_environment_vm.ubuntu_vm : vm.name]
}
output "vm_ids" {
description = "Created VM IDs"
value = [for vm in proxmox_virtual_environment_vm.ubuntu_vm : vm.vm_id]
}
output "vm_nodes" {
description = "PVE nodes hosting each VM"
value = { for k, vm in proxmox_virtual_environment_vm.ubuntu_vm : k => vm.node_name }
}
output "vm_ipv4" {
description = "Static IPv4 addresses"
value = { for k, vm in proxmox_virtual_environment_vm.ubuntu_vm : k => vm.initialization[0].ip_config[0].ipv4[0].address }
}