From 5c1d553e3899fb8c97bcff596af4264c7498a96e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Limpinho?= <53994778+TomasLimpinho@users.noreply.github.com> Date: Tue, 19 Aug 2025 20:58:43 +0100 Subject: [PATCH] a --- proxmox.tf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/proxmox.tf b/proxmox.tf index ddd3a6b..dbcc72d 100644 --- a/proxmox.tf +++ b/proxmox.tf @@ -1,7 +1,10 @@ provider "proxmox" { pm_api_url = var.proxmox_server } - +resource "proxmox_pool" "resource-pool" { + poolid = "resource-pool" + comment = "pool auto created" +} resource "proxmox_vm_qemu" "vm-kubernetes-01" { name = "VM-kubernetes-01" target_node = "fenix" @@ -14,11 +17,10 @@ resource "proxmox_vm_qemu" "vm-kubernetes-01" { agent = 1 hastate = "enabled" hagroup = "kubernetes-group" - qemu_os memory = 4096 hotplug = "network,disk,usb" scsihw = "virtio-scsi-single" - pool + pool = "resource-pool" tags = "iac-tag" os_type = "ubuntu" ipconfig0 = "ip=192.168.1.24"