Skip to content

Commit eb7dd8d

Browse files
Added maxUsableWorkstations to workstation Config (#11908) (#19872)
[upstream:a8e718b060267189c83267788e9ae87069295642] Signed-off-by: Modular Magician <magic-modules@google.com>
1 parent c6b7db8 commit eb7dd8d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changelog/11908.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
workstations: added `maxUsableWorkstations` field to `WorkstationConfiguration` resource.
3+
```

website/docs/r/workstations_workstation_config.html.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ resource "google_workstations_workstation_config" "default" {
9999
"label" = "key"
100100
}
101101
102+
max_usable_workstations = 1
103+
102104
host {
103105
gce_instance {
104106
machine_type = "e2-standard-4"
@@ -744,6 +746,10 @@ The following arguments are supported:
744746
(Optional)
745747
Disables support for plain TCP connections in the workstation. By default the service supports TCP connections via a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain tcp connections, such as ssh. When enabled, all communication must occur over https or wss.
746748

749+
* `max_usable_workstations` -
750+
(Optional)
751+
Maximum number of workstations under this configuration a user can have workstations.workstation.use permission on. Only enforced on CreateWorkstation API calls on the user issuing the API request.
752+
747753
* `allowed_ports` -
748754
(Optional)
749755
A list of port ranges specifying single ports or ranges of ports that are externally accessible in the workstation. Allowed ports must be one of 22, 80, or within range 1024-65535. If not specified defaults to ports 22, 80, and ports 1024-65535.

0 commit comments

Comments
 (0)