From 34b5555557bf81be784916b187b33a71746aa0a4 Mon Sep 17 00:00:00 2001 From: Valentyna Bukhalova Date: Mon, 25 Mar 2024 14:31:14 +0100 Subject: [PATCH] update flattenEKSConfig --- castai/resource_node_configuration.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/castai/resource_node_configuration.go b/castai/resource_node_configuration.go index 03e9f2e7..b5be03b0 100644 --- a/castai/resource_node_configuration.go +++ b/castai/resource_node_configuration.go @@ -674,7 +674,7 @@ func flattenEKSConfig(config *sdk.NodeconfigV1EKSConfig) []map[string]interface{ if v.Port != nil { tg["port"] = *v.Port } - m["target_group"] = []map[string]interface{}{tg} + m["target_group"] = tg } return []map[string]interface{}{m}