mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 10:07: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" {
|
||||
for_each = toset(local.lxc_containers)
|
||||
for_each = toset(local.lxc_dirs)
|
||||
|
||||
source = each.value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user