Closed ravirahul-db closed 9 months ago
It wasn’t fixed yet - I need to update docs to describe behavior
Hey @alexott and @nfx ! I don't follow: was this issue resolved? This still occurs in version 1.2.1
No, it's not fixed yet because of the problems with the underlying APIs that were fixed only recently
Right now all warehouses are created as serverless
Solving this bug will require fundamental changes to the terraform client design to detect an unspecified enable_serverless_compute
field in this specific case. These changes are expected to take a couple of months after which we can revisit this issue
So right now there is no way to create a non-serverless SQL warehouse using this provider?
This provider will create non-serverless SQL warehouses on workspaces with serverless disabled. But yes, unfortunately in workspaces where serverless is enabled, unfortunately, there is no way right now to create classic SQL warehouses.
This is because we are migrating this provider to the databricks golang SDK (https://github.com/databricks/databricks-sdk-go) and a quick fix without solving the fundamental issue would either be incompatible with this migration or would break other expected behavior
Any way to get a status on this? Chick-Fil-A is reporting the same issue as a blocker.
Solving this bug will require fundamental changes to the terraform client design to detect an unspecified
enable_serverless_compute
field in this specific case. These changes are expected to take a couple of months after which we can revisit this issue
@shreyas-goenka Can we get an update on this? The latest message specified it would take a couple of months then can revisit but this message was from 10 months ago. This has become a blocker for my customer to adopt serverless DBSQL now (since all infra changes happen via Terraform and not the UI)
Have enabled the workspace for serverless SQL warehouse. All the new warehouses are created by default as serverless even when I have "enable_serverless_compute = false"
Configuration
Expected Behavior
Provider should consider the value of "enable_serverless_compute" when creating/updating the warehouse.
Actual Behavior
"enable_serverless_compute" has no effect.
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Terraform and provider versions
1.0.0
Debug Output
Could not see the enable_serverless_compute passed to REST api. Same applicable for edit endponit. During warehouse creation:
When updating the warehouse: