Skip to content

Commit

Permalink
Potential fix for #6020
Browse files Browse the repository at this point in the history
If autoscaling is disabled on default_node_pool, those values are set to `0`
  • Loading branch information
Steffen Wagner authored and tombuildsstuff committed Mar 30, 2020
1 parent c7039db commit 91a780d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurerm/internal/services/containers/kubernetes_nodepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func SchemaDefaultNodePool() *schema.Schema {
"max_count": {
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(1, 100),
ValidateFunc: validation.IntBetween(0, 100),
},

"max_pods": {
Expand All @@ -81,7 +81,7 @@ func SchemaDefaultNodePool() *schema.Schema {
"min_count": {
Type: schema.TypeInt,
Optional: true,
ValidateFunc: validation.IntBetween(1, 100),
ValidateFunc: validation.IntBetween(0, 100),
},

"node_count": {
Expand Down

0 comments on commit 91a780d

Please sign in to comment.