mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 09:57:42 +00:00
refactor
This commit is contained in:
@@ -48,8 +48,12 @@ locals {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "lxc_dirs" {
|
||||||
|
type = list(string) # or set(string)
|
||||||
|
}
|
||||||
|
|
||||||
module "lxc_containers" {
|
module "lxc_containers" {
|
||||||
for_each = toset(local.lxc_containers)
|
for_each = toset(local.lxc_dirs)
|
||||||
|
|
||||||
source = each.value
|
source = each.value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user