Skip to content

Commit

Permalink
Add support for disable_ssh field in workstations_config (#9925)
Browse files Browse the repository at this point in the history
  • Loading branch information
tejal29 authored Feb 9, 2024
1 parent 3d3eb11 commit b758bf5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mmv1/products/workstations/WorkstationConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ properties:
- 'host.gceInstance.shieldedInstanceConfig.enableIntegrityMonitoring'
- 'host.gceInstance.confidentialInstanceConfig.enableConfidentialCompute'
- 'host.gceInstance.accelerators'
- 'host.gceInstance.disableSsh'
properties:
- !ruby/object:Api::Type::NestedObject
name: 'gceInstance'
Expand Down Expand Up @@ -257,6 +258,10 @@ properties:
name: 'disablePublicIpAddresses'
description: |
Whether instances have no public IP address.
- !ruby/object:Api::Type::Boolean
name: 'disableSsh'
description: |
Whether to disable SSH access to the VM.
- !ruby/object:Api::Type::Boolean
name: 'enableNestedVirtualization'
description: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ resource "google_workstations_workstation_config" "<%= ctx[:primary_resource_id]
machine_type = "e2-standard-4"
boot_disk_size_gb = 35
disable_public_ip_addresses = true
disable_ssh = false
}
}
}

0 comments on commit b758bf5

Please sign in to comment.