Open willgraybeal opened 1 month ago
you need to add explicit num_workers = 0
- most probably it's related to the SDK migration
you need to add explicit
num_workers = 0
- most probably it's related to the SDK migration
Adding num_workers = 0
results in the same plan error. Also worth pointing out that the existing docs say num_workers
"can be set to 0 explicitly, or simply not specified, as it defaults to 0. "
Could you try to upgrade the Terraform CLI to v1.1.5 or higher? I was able to reproduce this issue only on v1.1.4 and lower.
To add to my previous message, Terraform CLI v1.1.5 appears to be the earliest version that supports protocol v6, which is required for the latest Databricks Terraform Provider (v1.51.0).
The docs are now updated to indicate v1.1.5 as a minimum requirement (#3965)
Configuration
Expected Behavior
Running terraform plan generates a plan successfully
Actual Behavior
Running terraform plan returns the following error
Steps to Reproduce
databricks_cluster
resource as a Single Node cluster, per the docs hereterraform plan
Terraform and provider versions
Is it a regression?
Yes, I tried version 1.50.0 and it succeeded
Debug Output
Important Factoids
Would you like to implement a fix?