Skip to content

Commit

Permalink
remove upper limit validation on max cluster count (#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-swinkler authored Sep 1, 2023
1 parent 5522504 commit e10004e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/resources/warehouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e10004e

Please sign in to comment.