Skip to content

coder_app breaks when command = "..." and subdomain = true #343

Open
@ElioDiNino

Description

@ElioDiNino

Version: v0.27.1+65583ec

If you create a coder_app like the following, you get a 500 error from Coder.

Either support for subdomains with commands should be added or the Terraform provider should complain that subdomain = true isn't allowed when command is set. When setting the subdomain key to false (or removing it entirely) things work fine (apart from the URL not being a subdomain).

resource "coder_app" "keeper-commander" {
  agent_id     = coder_agent.main.id
  slug         = "keeper-commander"
  display_name = "Keeper CLI"
  icon         = "https://www.keepersecurity.com/assets/branding/android-icon-192x192.png"
  command      = "keeper shell"
  subdomain    = true
  share        = "owner"
}
Screenshot 2023-07-26 at 6 18 37 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions