Skip to content

Commit

Permalink
docs: document minimum version required for 'hidden' attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleMaywood committed Sep 9, 2024
1 parent bbe8e25 commit ef40a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ resource "coder_app" "vim" {
- `display_name` (String) A display name to identify the app. Defaults to the slug.
- `external` (Boolean) Specifies whether `url` is opened on the client machine instead of proxied through the workspace.
- `healthcheck` (Block Set, Max: 1) HTTP health checking to determine the application readiness. (see [below for nested schema](#nestedblock--healthcheck))
- `hidden` (Boolean) Determines if the app is visible in the UI.
- `hidden` (Boolean) Determines if the app is visible in the UI (minimum coder version: v2.16).
- `icon` (String) A URL to an icon that will display in the dashboard. View built-in icons here: https://github.com/coder/coder/tree/main/site/static/icon. Use a built-in icon with `"${data.coder_workspace.me.access_url}/icon/<path>"`.
- `order` (Number) The order determines the position of app in the UI presentation. The lowest order is shown first and apps with equal order are sorted by name (ascending order).
- `share` (String) Determines the level which the application is shared at. Valid levels are `"owner"` (default), `"authenticated"` and `"public"`. Level `"owner"` disables sharing on the app, so only the workspace owner can access it. Level `"authenticated"` shares the app with all authenticated users. Level `"public"` shares it with any user, including unauthenticated users. Permitted application sharing levels can be configured site-wide via a flag on `coder server` (Enterprise only).
Expand Down
2 changes: 1 addition & 1 deletion provider/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func appResource() *schema.Resource {
},
"hidden": {
Type: schema.TypeBool,
Description: "Determines if the app is visible in the UI.",
Description: "Determines if the app is visible in the UI (minimum coder version: v2.16).",
Default: false,
ForceNew: true,
Optional: true,
Expand Down

0 comments on commit ef40a58

Please sign in to comment.