Closed as not planned
Description
It would be great if the coder apps do not disconnect automatically after they return. To ensure compatibility it would of course be fine to have a parameter (e.g. tty=true
?) to control it. My use case is that I want to list the log files in the database via:
resource "coder_app" "postgres" {
agent_id = coder_agent.postgres.id
display_name = "Logs"
command = "ls /var/lib/postgresql/data/log/"
icon = "https://iconarchive.com/download/i83612/pelfusion/flat-file-type/log.ico"
slug = "postgres-logs"
}
Unfortunately, once opened it immediately says "Disconnected" and I cannot even view the result but actually I would like to use it as a starting point to run further commands.