diff --git a/provider.tf b/provider.tf index 74179f3..caad158 100644 --- a/provider.tf +++ b/provider.tf @@ -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