From c309a1b290062e51079bcecb1482647e797d9e85 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Mon, 28 Feb 2022 00:49:07 +0100 Subject: [PATCH] default subnet not defined, so removing it --- locals.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }