Skip to content

Commit

Permalink
Added gcp_attributes.local_ssd_count to databricks_cluster resource
Browse files Browse the repository at this point in the history
New setting allows to specify number of local SSD disks to be attached to each node
  • Loading branch information
alexott committed Aug 2, 2023
1 parent 160b944 commit 1993b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions clusters/clusters_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ type GcpAttributes struct {
Availability Availability `json:"availability,omitempty"`
BootDiskSize int32 `json:"boot_disk_size,omitempty"`
ZoneId string `json:"zone_id,omitempty"`
LocalSsdCount int32 `json:"local_ssd_count,omitempty"`
}

// DbfsStorageInfo contains the destination string for DBFS
Expand Down
1 change: 1 addition & 0 deletions docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ The following options are available:
* `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.
* `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`.
* `boot_disk_size` (optional, int) Boot disk size in GB
* `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.
* `zone_id` (optional) Identifier for the availability zone in which the cluster resides. This can be one of the following:
* `HA` (default): High availability, spread nodes across availability zones for a Databricks deployment region.
* `AUTO`: Databricks picks an availability zone to schedule the cluster on.
Expand Down

0 comments on commit 1993b34

Please sign in to comment.