aboutsummaryrefslogtreecommitdiff
path: root/opentofu/outputs.tf
diff options
context:
space:
mode:
Diffstat (limited to 'opentofu/outputs.tf')
-rw-r--r--opentofu/outputs.tf3
1 files changed, 3 insertions, 0 deletions
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]
])
}