terraform-provider-coder icon indicating copy to clipboard operation
terraform-provider-coder copied to clipboard

Bug `open_in` for `slim-window` not working

Open djarbz opened this issue 1 month ago • 0 comments

When I create a website link to the repository, it uses the same window rather than creating a new slim-window. I will also get an alert that display_name needs to be installed first.

# Create a Coder app to link to the website of the repository
resource "coder_app" "website" {
  count        = length(module.git-clone) > 0 ? 1 : 0
  agent_id     = coder_agent.main.id
  order        = 2
  slug         = "website"
  external     = true
  tooltip      = ""
  open_in      = "slim-window"
  display_name = one(module.git-clone).folder_name
  url          = one(module.git-clone).web_url
  icon         = one(module.git-clone).git_provider != "" ? "/icon/${one(module.git-clone).git_provider}.svg" : "/icon/git.svg"
}

djarbz avatar Oct 29 '25 18:10 djarbz