Skip to content

Commit f39d66b

Browse files
authored
Added gcp_attributes.local_ssd_count to databricks_cluster resource (#2422)
New setting allows to specify number of local SSD disks to be attached to each node
1 parent 07b00b2 commit f39d66b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clusters/clusters_api.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ type GcpAttributes struct {
172172
Availability Availability `json:"availability,omitempty"`
173173
BootDiskSize int32 `json:"boot_disk_size,omitempty"`
174174
ZoneId string `json:"zone_id,omitempty"`
175+
LocalSsdCount int32 `json:"local_ssd_count,omitempty"`
175176
}
176177

177178
// DbfsStorageInfo contains the destination string for DBFS

docs/resources/cluster.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ The following options are available:
426426
* `google_service_account` - (Optional, string) Google Service Account email address that the cluster uses to authenticate with Google Identity. This field is used for authentication with the GCS and BigQuery data sources.
427427
* `availability` - (Optional) Availability type used for all nodes. Valid values are `PREEMPTIBLE_GCP`, `PREEMPTIBLE_WITH_FALLBACK_GCP` and `ON_DEMAND_GCP`, default: `ON_DEMAND_GCP`.
428428
* `boot_disk_size` (optional, int) Boot disk size in GB
429+
* `local_ssd_count` (optional, int) Number of local SSD disks (each is 375GB in size) that will be attached to each node of the cluster.
429430
* `zone_id` (optional) Identifier for the availability zone in which the cluster resides. This can be one of the following:
430431
* `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region.
431432
* `AUTO`: Databricks picks an availability zone to schedule the cluster on.

0 commit comments

Comments
 (0)