Skip to content

Commit

Permalink
fix errors (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaindaiz authored Sep 29, 2022
1 parent a2d5ba0 commit 3778c63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/resources/app.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand All @@ -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/<path>"`.
- `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>"`.
- `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.
Expand Down

0 comments on commit 3778c63

Please sign in to comment.