From af217c9a5d24a5e1a833b4e703ead63cdd87516b Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 9 Jan 2023 03:46:51 +0300 Subject: [PATCH 1/2] docs: fix typo in built-in icons path --- docs/resources/app.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/app.md b/docs/resources/app.md index 187dc2c2..fd1989f7 100644 --- a/docs/resources/app.md +++ b/docs/resources/app.md @@ -71,7 +71,7 @@ resource "coder_app" "intellij" { - `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)) -- `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/icons. Use a built-in icon with `data.coder_workspace.me.access_url + "/icon/"`. +- `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/"`. - `name` (String, Deprecated) A display name to identify the app. - `relative_path` (Boolean, Deprecated) Specifies whether the URL will be accessed via a relative path or wildcard. Use if wildcard routing is unavailable. Defaults to true. - `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). From 9c64596e8466f13a17ed9cf3fb12f4bdc19870d8 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 9 Jan 2023 14:14:52 +0300 Subject: [PATCH 2/2] chore: fixed a tpyo --- provider/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provider/app.go b/provider/app.go index 37647437..0d937dd0 100644 --- a/provider/app.go +++ b/provider/app.go @@ -55,7 +55,7 @@ func appResource() *schema.Resource { "icon": { Type: schema.TypeString, Description: "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/icons. Use a " + + "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/\"`.", ForceNew: true, Optional: true,