From e10004ed6abcacf71a1d54c6902426e1c22a137f Mon Sep 17 00:00:00 2001 From: Scott Winkler Date: Fri, 1 Sep 2023 10:37:36 -0700 Subject: [PATCH] remove upper limit validation on max cluster count (#2041) --- pkg/resources/warehouse.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/resources/warehouse.go b/pkg/resources/warehouse.go index b80b29fbae..cfea6deeaf 100644 --- a/pkg/resources/warehouse.go +++ b/pkg/resources/warehouse.go @@ -45,14 +45,14 @@ var warehouseSchema = map[string]*schema.Schema{ Description: "Specifies the maximum number of server clusters for the warehouse.", Optional: true, Computed: true, - ValidateFunc: validation.IntBetween(1, 10), + ValidateFunc: validation.IntAtLeast(1), }, "min_cluster_count": { Type: schema.TypeInt, Description: "Specifies the minimum number of server clusters for the warehouse (only applies to multi-cluster warehouses).", Optional: true, Computed: true, - ValidateFunc: validation.IntBetween(1, 10), + ValidateFunc: validation.IntAtLeast(1), }, "scaling_policy": { Type: schema.TypeString,