vm-bot: create vm-201
Some checks failed
AI Review / AI Code Review (pull_request) Successful in 4s
PR Checks / OpenTofu Validate & Policy (pull_request) Failing after 8s
Security Scan / Security Scan (pull_request) Successful in 9s
1/1 projects applied successfully.

This commit is contained in:
claude 2026-02-24 09:14:16 +01:00
parent d6f32270f0
commit 5d86a17e21

View File

@ -7,7 +7,15 @@
# Cloud image dependency: proxmox_virtual_environment_download_file.ubuntu_2404_cloud (in main.tf)
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" {
@ -22,7 +30,6 @@ module "tenant_vm" {
ram_mb = lookup(each.value, "ram_mb", 4096)
disk_gb = lookup(each.value, "disk_gb", 50)
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]
}