From f1026bb86e56a759df42d1877d46e4b366be8247 Mon Sep 17 00:00:00 2001 From: Tejal Desai Date: Mon, 12 Aug 2024 10:09:47 -0700 Subject: [PATCH] Set disbaleSsh default value to true for workstation create (#11225) Co-authored-by: Cameron Thornton --- mmv1/products/workstations/WorkstationConfig.yaml | 2 ++ .../website/docs/guides/version_6_upgrade.html.markdown | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/mmv1/products/workstations/WorkstationConfig.yaml b/mmv1/products/workstations/WorkstationConfig.yaml index da235ea6df81..f486ed2e1c3f 100644 --- a/mmv1/products/workstations/WorkstationConfig.yaml +++ b/mmv1/products/workstations/WorkstationConfig.yaml @@ -276,6 +276,8 @@ properties: Whether instances have no public IP address. - !ruby/object:Api::Type::Boolean name: 'disableSsh' + default_value: true + send_empty_value: true description: | Whether to disable SSH access to the VM. - !ruby/object:Api::Type::Boolean diff --git a/mmv1/third_party/terraform/website/docs/guides/version_6_upgrade.html.markdown b/mmv1/third_party/terraform/website/docs/guides/version_6_upgrade.html.markdown index 41f03824ed05..0aca9aa44f66 100644 --- a/mmv1/third_party/terraform/website/docs/guides/version_6_upgrade.html.markdown +++ b/mmv1/third_party/terraform/website/docs/guides/version_6_upgrade.html.markdown @@ -322,6 +322,12 @@ on the resource through Terraform and the default labels configured on the provi * The new output-only `effective_labels` field lists all of labels present on the resource in GCP, including the labels configured through Terraform, the system, and other clients. +## Resource: `google_workstations_workstation_config` + +### `host.gce_instance.disable_ssh` now defaults to true + +* `disable_ssh` field now defaults to true. To enable SSH, please set `disable_ssh` to false. + ## Removals ### Resource: `google_identity_platform_project_default_config` is now removed