fix: update reference to agent.dev in examples and docs (#3198)

* fix: update agent ID in example templates
* fix: update agent ID in dogfood template
* chore: update default agent ID in documentation
* fix: develop.sh: start FE after template is created; leave template dir around if template creation fails
This commit is contained in:
Cian Johnston
2022-07-26 14:09:09 +01:00
committed by GitHub
parent 9a9912c8ce
commit 2c0d57e8c0
14 changed files with 30 additions and 27 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ be used as a Coder application. For example:
```hcl
# Give template users the portainer.io web UI
resource "coder_app" "portainer" {
agent_id = coder_agent.dev.id
agent_id = coder_agent.main.id
name = "portainer"
icon = "https://simpleicons.org/icons/portainer.svg"
url = "http://localhost:8000"
@@ -69,7 +69,7 @@ You'll also need to specify a `coder_app` resource related to the agent. This is
```hcl
resource "coder_app" "code-server" {
agent_id = coder_agent.dev.id
agent_id = coder_agent.main.id
name = "code-server"
url = "http://localhost:13337/?folder=/home/coder"
icon = "/icon/code.svg"