Open
Description
I'm having some issues with setting a coder_app
for a single coder_agent
in a template. When I do, I get a "internal provisionerserver error" (no other errors can be seen)
Here's roughly what I have:
resource "coder_agent" "core" {
count = 1
arch = "amd64"
auth = "token"
os = "linux"
dir = "/workspaces/core"
connection_timeout = 0
order = 1
}
resource "coder_agent" "dev" {
count = 1
arch = "amd64"
auth = "token"
os = "linux"
dir = "/workspaces/dev"
connection_timeout = 0
order = 2
}
resource "coder_app" "http-server" {
agent_id = coder_agent.core[0].id
icon = "${data.coder_workspace.me.access_url}/icon/php.svg"
slug = "http-server"
display_name = "Apache"
url = "http://localhost"
share = "public"
subdomain = true
}
If I remove the coder_app
everything builds fine and I can use the template, minus the public shared url. Is there something I'm doing incorrectly that doesn't seem obvious to me?