8000 Feat: Auto-open coder_app on avail · Issue #6243 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content
Feat: Auto-open coder_app on avail #6243
Open
@MrPeacockNLB

Description

@MrPeacockNLB

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    customer-requestedFeatures requested by enterprise customers. Only humans may set this.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0