create multiple-vm project

This commit is contained in:
2025-03-23 22:55:30 +00:00
parent 0513f40af0
commit 3e5d65773c
9 changed files with 70 additions and 27 deletions

View File

@@ -0,0 +1,13 @@
module "pve_vm" {
source = "../../modules/pve_vm"
count = 2
node_name = "zenith"
vm_name = "zenith-vm-${count.index + 1}"
vm_cpu = 2
vm_ram = 2048
vm_vlan = 66
}
output "vm_ip" {
value = module.pve_vm[*].vm_ip
}