From 136c5e6f57e34a6d1d5cc55e894ceb02e5a8ec7b Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Tue, 4 Jun 2024 15:37:46 +0000 Subject: [PATCH] add nested virtualization, boot disk size, and pool size to boost (#10864) [upstream:daa35c8bc1d58207ded0c4fa431121a9c5058a26] Signed-off-by: Modular Magician --- ...kstations_workstation_config.html.markdown | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/website/docs/r/workstations_workstation_config.html.markdown b/website/docs/r/workstations_workstation_config.html.markdown index 2c704680e69..9af03041371 100644 --- a/website/docs/r/workstations_workstation_config.html.markdown +++ b/website/docs/r/workstations_workstation_config.html.markdown @@ -465,8 +465,11 @@ resource "google_workstations_workstation_config" "default" { } } boost_configs { - id = "boost-1" - machine_type = "e2-standard-2" + id = "boost-2" + machine_type = "n1-standard-2" + pool_size = 2 + boot_disk_size_gb = 30 + enable_nested_virtualization = true } } } @@ -766,6 +769,19 @@ The following arguments are supported: (Optional) The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4. +* `boot_disk_size_gb` - + (Optional) + Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB. + +* `enable_nested_virtualization` - + (Optional) + Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations. + See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization + +* `pool_size` - + (Optional) + Number of instances to pool for faster workstation boosting. + * `accelerators` - (Optional) An accelerator card attached to the boost instance.