Open Vikranth-Subramanian opened 2 months ago
Running into the same issue:
Error: cannot update model serving: scaleToZeroEnabled is undefined. Please set it to either true or false.
I noticed that it only works when you set it to true.
Can confirm that this issue does not exist on 1.48.3
Does adding back ForceSendFields
which was added in the PR https://github.com/databricks/terraform-provider-databricks/commit/dbe732e02b2223d32f085f66bd1c5c0707304236#diff-c4af24d835708d4701b7681a821ffeed5cb6ad8958b7f0d32a65f911bda3e693R78 will fix the issue? It was removed in the last PR. @alexott ?
@Vikranth-Subramanian it's a bit complicated as it depends on a specific model.
Cc: @arpitjasa-db
Hmm @yucheng-qian-db were any changes made recently on the Model Serving API side?
@arpitjasa-db @yucheng-qian-db I reported this error internally few weeks ago...
No change in API, but we'll make this field no longer required to address this issue.
there is one more issue in Documentation
scale_to_zero_enabled
is no longer required. The issue should be fixed.
Configuration
Seems like the issue which was resolved here https://github.com/databricks/terraform-provider-databricks/issues/3383 is happening again with databricks provider versions
1.49.0
and above.Steps to Reproduce
terraform plan works fine but it fails when we try to do terraform apply with the error
cannot update model serving: scaleToZeroEnabled is undefined
. Please set it to either true or falseTerraform and provider versions
databricks_model_serving
resource is broken since1.49.0
Is it a regression?
Debug Output
Important Factoids
Would you like to implement a fix?