mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 10:07:42 +00:00
simple
This commit is contained in:
15
provider.tf
15
provider.tf
@@ -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
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user