- Notifications
You must be signed in to change notification settings - Fork928
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.idslug = "app8080"display_name = "app8080"icon = "/icon/code.svg"url = "http://localhost:8080"subdomain = trueshare = "public"auto-open = window# <== "off", "window", "tab". Defaults to "off"healthcheck {url = "http://localhost:8080"interval = 3threshold = 10}}
The terraform resource should have a new parameter e.G. something likeauto-open. Possible valuesoff,window,tab.