From d5220dbec841171a2843cf15b6445b5795444105 Mon Sep 17 00:00:00 2001 From: Kobi Samoray Date: Wed, 8 Nov 2023 14:49:11 +0200 Subject: [PATCH] Allow multiple switches per node This limitation doesn't exist in NSX and therefore we can remove MaxItems: 1 Signed-off-by: Kobi Samoray --- nsxt/resource_nsxt_transport_node.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/nsxt/resource_nsxt_transport_node.go b/nsxt/resource_nsxt_transport_node.go index f4e774b8d..b8a203545 100644 --- a/nsxt/resource_nsxt_transport_node.go +++ b/nsxt/resource_nsxt_transport_node.go @@ -558,7 +558,6 @@ func getPublicCloudGatewayNodeSchema() *schema.Schema { func getPreconfiguredHostSwitchSchema() *schema.Schema { return &schema.Schema{ Type: schema.TypeList, - MaxItems: 1, Optional: true, Description: "Preconfigured host switch", Elem: &schema.Resource{ @@ -582,7 +581,6 @@ func getPreconfiguredHostSwitchSchema() *schema.Schema { func getStandardHostSwitchSchema() *schema.Schema { return &schema.Schema{ Type: schema.TypeList, - MaxItems: 1, Optional: true, Description: "Standard host switch specification", ExactlyOneOf: []string{