Skip to content

Commit

Permalink
Add readiness_checks to google_workstations_workstation_config (#…
Browse files Browse the repository at this point in the history
…9841) (#17087)

* feat: add `readiness_checks` to Workstation Config

* chore: set path and change port to port 80

* Update WorkstationConfig.yaml



* chore: make readiness checks arguments required

* chore: add readiness checks to basic example

* LRevert "chore: add readiness checks to basic example"

This reverts commit e8d3ec37c649d86bf03fa978003d07f22caf8d7b.

---------
[upstream:7ca983b9aa12655a93b7e9683ddc25ed1bd972ae]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jan 23, 2024
1 parent ccd380c commit 8759097
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/9841.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
workstations: added `readiness_checks` argument block to `google_workstations_workstation_config` resource (beta)
```
15 changes: 15 additions & 0 deletions website/docs/r/workstations_workstation_config.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,11 @@ The following arguments are supported:
If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours.
Structure is [documented below](#nested_encryption_key).

* `readiness_checks` -
(Optional)
Readiness checks to be performed on a workstation.
Structure is [documented below](#nested_readiness_checks).

* `disable_tcp_connections` -
(Optional)
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.
Expand Down Expand Up @@ -743,6 +748,16 @@ The following arguments are supported:
(Required)
The service account to use with the specified KMS key.

<a name="nested_readiness_checks"></a>The `readiness_checks` block supports:

* `path` -
(Required)
Path to which the request should be sent.

* `port` -
(Required)
Port to which the request should be sent.

## Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:
Expand Down

0 comments on commit 8759097

Please sign in to comment.