Skip to content

Commit

Permalink
reduce validation interval for idle_timeout_in_minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
stephybun committed Mar 18, 2024
1 parent c3d3a5a commit dbcfa3c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions internal/services/containers/kubernetes_cluster_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -1158,10 +1158,15 @@ func resourceKubernetesCluster() *pluginsdk.Resource {
ValidateFunc: validation.IntBetween(0, 64000),
},
"idle_timeout_in_minutes": {
Type: pluginsdk.TypeInt,
Optional: true,
Default: 30,
ValidateFunc: validation.IntBetween(4, 120),
Type: pluginsdk.TypeInt,
Optional: true,
Default: 30,
ValidateFunc: func() pluginsdk.SchemaValidateFunc {
if !features.FourPointOhBeta() {
return validation.IntBetween(4, 120)
}
return validation.IntBetween(4, 100)
}(),
},
"managed_outbound_ip_count": {
Type: pluginsdk.TypeInt,
Expand Down

0 comments on commit dbcfa3c

Please sign in to comment.