Merge pull request 'VM Bot: create vm-201 for user 135789842' (#79) from vm/create-135789842 into main
Some checks failed
Drift Detection / detect-drift (push) Failing after 1s

This commit is contained in:
claude 2026-02-24 09:14:59 +01:00
commit 7139d42b9b

View File

@ -7,7 +7,15 @@
# Cloud image dependency: proxmox_virtual_environment_download_file.ubuntu_2404_cloud (in main.tf) # Cloud image dependency: proxmox_virtual_environment_download_file.ubuntu_2404_cloud (in main.tf)
locals { locals {
tenant_vms = {} tenant_vms = {
"vm-201" = {
vm_id = 201
public_ip = "185.47.204.227"
password = "2U85aZ8sCJDqxVPK"
ram_mb = 4096
disk_gb = 50
}
}
} }
module "tenant_vm" { module "tenant_vm" {
@ -22,7 +30,6 @@ module "tenant_vm" {
ram_mb = lookup(each.value, "ram_mb", 4096) ram_mb = lookup(each.value, "ram_mb", 4096)
disk_gb = lookup(each.value, "disk_gb", 50) disk_gb = lookup(each.value, "disk_gb", 50)
started = lookup(each.value, "started", true) started = lookup(each.value, "started", true)
extra_firewall_rules = lookup(each.value, "extra_firewall_rules", [])
depends_on = [proxmox_virtual_environment_download_file.ubuntu_2404_cloud] depends_on = [proxmox_virtual_environment_download_file.ubuntu_2404_cloud]
} }