From 3778c630ce652b791246196798203080d7e43642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20D=C3=ADaz?= Date: Thu, 29 Sep 2022 20:21:14 -0300 Subject: [PATCH] fix errors (#58) --- docs/resources/app.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/resources/app.md b/docs/resources/app.md index a90e77c5..e1d1d8b4 100644 --- a/docs/resources/app.md +++ b/docs/resources/app.md @@ -41,13 +41,13 @@ resource "coder_app" "code-server" { resource "coder_app" "vim" { agent_id = coder_agent.dev.id name = "Vim" - icon = data.coder_workspace.me.access_url + "/icons/vim.svg" + icon = "${data.coder_workspace.me.access_url}/icon/vim.svg" command = "vim" } resource "coder_app" "intellij" { agent_id = coder_agent.dev.id - icon = data.coder_workspace.me.access_url + "/icons/intellij.svg" + icon = "${data.coder_workspace.me.access_url}/icon/intellij.svg" name = "JetBrains IntelliJ" command = "projector run" } @@ -64,7 +64,7 @@ resource "coder_app" "intellij" { - `command` (String) A command to run in a terminal opening this app. In the web, this will open in a new tab. In the CLI, this will SSH and execute the command. Either "command" or "url" may be specified, but not both. - `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 + "/icons/"`. +- `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) A display name to identify the app. - `relative_path` (Boolean) Specifies whether the URL will be accessed via a relative path or wildcard. Use if wildcard routing is unavailable. - `url` (String) A URL to be proxied to from inside the workspace. Either "command" or "url" may be specified, but not both.