From 0c5bd5496c44f003622840f8e362911409e0bc3f Mon Sep 17 00:00:00 2001 From: Arpit Jasapara Date: Tue, 16 Jul 2024 01:25:38 -0700 Subject: [PATCH] revert lines --- serving/resource_model_serving.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/serving/resource_model_serving.go b/serving/resource_model_serving.go index e4d9517905..f99acde7c4 100644 --- a/serving/resource_model_serving.go +++ b/serving/resource_model_serving.go @@ -21,6 +21,9 @@ func ResourceModelServing() common.Resource { m["name"].ForceNew = true common.MustSchemaPath(m, "config", "served_models").ConflictsWith = []string{"config.served_entities"} common.MustSchemaPath(m, "config", "served_entities").ConflictsWith = []string{"config.served_models"} + common.MustSchemaPath(m, "config", "served_models", "scale_to_zero_enabled").Required = false + common.MustSchemaPath(m, "config", "served_models", "scale_to_zero_enabled").Optional = true + common.MustSchemaPath(m, "config", "served_models", "scale_to_zero_enabled").Default = true common.MustSchemaPath(m, "config", "traffic_config").Computed = true common.MustSchemaPath(m, "config", "auto_capture_config", "table_name_prefix").Computed = true