From f8f9666a8e630d6d64a883bca25ccc4ba98d73e4 Mon Sep 17 00:00:00 2001
From: clyhtsuriva <aimeric@adjutor.xyz>
Date: Mon, 3 Mar 2025 21:17:33 +0100
Subject: tofu: Use static IPs, clean up vars, reduce workers

---
 opentofu/outputs.tf | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'opentofu/outputs.tf')

diff --git a/opentofu/outputs.tf b/opentofu/outputs.tf
index 09a05d8..a2de653 100644
--- a/opentofu/outputs.tf
+++ b/opentofu/outputs.tf
@@ -1,6 +1,9 @@
+# Define all VMs
 locals {
   all_vms = flatten([
     [proxmox_virtual_environment_vm.docker_server],
+    [for vm in proxmox_virtual_environment_vm.k3s_master : vm],
+    [for vm in proxmox_virtual_environment_vm.k3s_worker : vm]
   ])
 }
 
-- 
cgit v1.2.3