diff --git a/locals.tf b/locals.tf index f47913e..0fe2a8c 100644 --- a/locals.tf +++ b/locals.tf @@ -154,7 +154,7 @@ locals { for index in range(nodepool_obj.count) : format("%s-%s", nodepool_name, index) => { server_type : nodepool_obj.server_type, - subnet : lookup(nodepool_obj, "subnet", "default"), + subnet : nodepool_obj.subnet, index : index } }