You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/templates.md
+9-15
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,11 @@ not support custom VPCs). You can add these features by editing the Terraform
36
36
code once you run `coder templates init` (new) or `coder templates pull`
37
37
(existing).
38
38
39
-
- See [Creating and troubleshooting templates](#creating--troubleshooting-templates) for
40
-
more info
39
+
Refer to the following resources to build your own templates:
40
+
41
+
- Terraform: [Documentation](https://developer.hashicorp.com/terraform/docs) and [Registry](https://registry.terraform.io)
42
+
- Common [concepts in templates](#concepts-in-templates) and [Coder Terraform provider](https://registry.terraform.io/providers/coder/coder/latest/docs)
43
+
-[Coder example templates](https://github.com/coder/coder/tree/main/examples/templates) code
Occasionally, you may run into scenarios where the agent is not able to connect.
323
-
This means the start script has failed.
317
+
Occasionally, you may run into scenarios where a workspace is created, but the agent is not connected. This means the agent or [init script](https://github.com/coder/coder/tree/main/provisionersdk/scripts) has failed on the resource.
324
318
325
319
```sh
326
320
$ coder ssh myworkspace
@@ -331,8 +325,8 @@ While troubleshooting steps vary by resource, here are some general best
331
325
practices:
332
326
333
327
- Ensure the resource has `curl` installed
334
-
- Ensure the resource can reach your Coder URL
335
-
- Manually connect to the resource (e.g., `docker exec` or AWS console)
328
+
- Ensure the resource can `curl` your Coder [access URL](./admin/configure.md#access-url)
329
+
- Manually connect to the resource and check the agent logs (e.g., `docker exec` or AWS console)
336
330
- The Coder agent logs are typically stored in `/var/log/coder-agent.log`
337
331
- The Coder agent startup script logs are typically stored in `/var/log/coder-startup-script.log`
0 commit comments