terraform-provider-databricks
terraform-provider-databricks copied to clipboard
[FEATURE] Resize `databricks_cluster` without restarting
Hi there,
Thank you for opening an issue. Please note that we try to keep the Databricks Provider issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
API Call:
curl --netrc -X POST
https://dbc-a1b2345c-d6e7.cloud.databricks.com/api/2.0/clusters/resize
--data '{ "cluster_id": "1234-567890-reef123", "num_workers": 30 }'
Expected Behavior
Resizing a cluster without a restart is currently not available in Terraform (the API above would need to be used)
Actual Behavior
If you use the databricks_cluster resource and edit the min_workers / max_workers it will force the cluster to restart.
Thank you for the feature request! Currently, the team operates in a limited capacity, carefully prioritizing, and we cannot provide a timeline to implement this feature. Please make a Pull Request if you'd like to see this feature sooner, and we'll guide you through the journey.