Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove upper limit validation on max cluster count #2041

Merged
merged 2 commits into from
Sep 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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