You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cluster should be created ( this happens ) and ALL libraries are assigned to it ( even if not installed immediately)
Actual Behavior
│ Error: cannot create library: Cluster is in unexpected state Pending.
│
│ with databricks_library.stream_hub_dh2_library["pyyaml==6.0.2"],
│ on main.tf line 140, in resource "databricks_library" "stream_hub_dh2_library":
│ 140: resource "databricks_library" "stream_hub_dh2_library" {
no_wait did not seem to work properly
To me it looks like if autotermination_minutes is not long enough for all libs to install ->
P.S.
Another issue is when you bump up the lib version and run tf apply - you usually end up with installation error ( cluster is displayed with 2 versions of the same lib, newer being red)
P.S.
Can you elaborate on what is the specific case for that? And maybe include it in docs? Anyway with or without no_wait the results seems to be the same - failure to install all the libraries and failure for TF apply
Configuration
# Copy-paste your Terraform configuration here
We have a list of libraries defined like that
and later we define the library resource like that
and the cluster to use those libraries
Expected Behavior
The cluster should be created ( this happens ) and ALL libraries are assigned to it ( even if not installed immediately)
Actual Behavior
│ Error: cannot create library: Cluster is in unexpected state Pending.
│
│ with databricks_library.stream_hub_dh2_library["pyyaml==6.0.2"],
│ on main.tf line 140, in resource "databricks_library" "stream_hub_dh2_library":
│ 140: resource "databricks_library" "stream_hub_dh2_library" {
P.S.
Another issue is when you bump up the lib version and run tf apply - you usually end up with installation error ( cluster is displayed with 2 versions of the same lib, newer being red)
Steps to Reproduce
Terraform and provider versions
Is it a regression?
Debug Output
Important Factoids
Would you like to implement a fix?
The text was updated successfully, but these errors were encountered: