This commit is contained in:
Ryan Toler
2026-03-01 21:44:11 +00:00
parent a548c2709e
commit 5278597cd8

View File

@@ -40,16 +40,7 @@ provider "proxmox" {
} }
} }
locals { module "vm" {
lxc_containers = [ source = "./lxc/downloader"
"./lxc/downloader" # Pass input variables as needed
] }
}
module "lxc_containers" {
for_each = { for path in local.lxc_containers : path => {} }
source = "./modules/lxc_container"
dir = each.key # or whatever input your module expects
}