Open
Description
Description
For currently most of my workspace I open I start code-server after it is available. Thinking broader this can also open up an application started via init script.
Example:
resource "coder_app" "unknown" {
agent_id = coder_agent.main.id
slug = "app8080"
display_name = "app8080"
icon = "/icon/code.svg"
url = "http://localhost:8080"
subdomain = true
share = "public"
auto-open = window # <== "off", "window", "tab". Defaults to "off"
healthcheck {
url = "http://localhost:8080"
interval = 3
threshold = 10
}
}
The terraform resource should have a new parameter e.G. something like auto-open. Possible values off, window, tab.