Skip to content

Commit

Permalink
feat: add env block to cloud workstations resource. (#8911) (#15824)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Sep 12, 2023
1 parent 34f95d7 commit e207472
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/8911.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
workstations: added `env` field to `google_workstations_workstation` resource (beta)
```
8 changes: 8 additions & 0 deletions website/docs/r/workstations_workstation.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ resource "google_workstations_workstation" "default" {
"label" = "key"
}
env = {
name = "foo"
}
annotations = {
label-one = "value-one"
}
Expand Down Expand Up @@ -138,6 +142,10 @@ The following arguments are supported:
(Optional)
Client-specified annotations. This is distinct from labels.

* `env` -
(Optional)
'Client-specified environment variables passed to the workstation container's entrypoint.'

* `project` - (Optional) The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.

Expand Down

0 comments on commit e207472

Please sign in to comment.