mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 10:57:42 +00:00
simple
This commit is contained in:
17
provider.tf
17
provider.tf
@@ -40,16 +40,7 @@ provider "proxmox" {
|
||||
}
|
||||
}
|
||||
|
||||
locals {
|
||||
lxc_containers = [
|
||||
"./lxc/downloader"
|
||||
]
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
module "vm" {
|
||||
source = "./lxc/downloader"
|
||||
# Pass input variables as needed
|
||||
}
|
||||
Reference in New Issue
Block a user