From 1daab293a7890cf0e94dd0601a19045fd0c30f0b Mon Sep 17 00:00:00 2001 From: Ryan Toler Date: Sun, 1 Mar 2026 21:40:59 +0000 Subject: [PATCH] refactor --- provider.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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