Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit970a814

Browse files
committed
chore: default to generic troubleshooting link
1 parentfb9ca7b commit970a814

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

‎docs/templates.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ not support custom VPCs). You can add these features by editing the Terraform
3636
code once you run`coder templates init` (new) or`coder templates pull`
3737
(existing).
3838

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
4144

4245
##Concepts in templates
4346

@@ -316,18 +319,9 @@ resource "coder_agent" "main" {
316319
You can add these environment variable definitions to your own templates, or customize them however
317320
you like.
318321

319-
##Creating & troubleshooting templates
320-
321-
You can use any Terraform resources or modules with Coder! When working on
322-
templates, we recommend you refer to the following resources:
323-
324-
- this document
325-
-[example templates](https://github.com/coder/coder/tree/main/examples/templates) code
326-
-[Coder Terraform provider](https://registry.terraform.io/providers/coder/coder/latest/docs)
327-
documentation
322+
##Troubleshooting templates
328323

329-
Occasionally, you may run into scenarios where the agent is not able to connect.
330-
This means the start script has failed.
324+
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.
331325

332326
```sh
333327
$ coder ssh myworkspace
@@ -338,8 +332,8 @@ While troubleshooting steps vary by resource, here are some general best
338332
practices:
339333

340334
- Ensure the resource has`curl` installed
341-
- Ensure the resource canreach your Coder URL
342-
- Manually connect to the resource (e.g.,`docker exec` or AWS console)
335+
- Ensure the resource can`curl` your Coder[accessURL](./admin/configure.md#access-url)
336+
- Manually connect to the resourceand check the agent logs(e.g.,`docker exec` or AWS console)
343337
- The Coder agent logs are typically stored in`/var/log/coder-agent.log`
344338
- The Coder agent startup script logs are typically stored in`/var/log/coder-startup-script.log`
345339

‎site/src/i18n/en/agent.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"timeoutTooltip": {
1717
"title":"Agent is taking too long to connect",
18-
"message":"We noticed this agent is taking longer than expected to connect. You can try troubleshooting the issue",
19-
"link":"here"
18+
"message":"We noticed this agent is taking longer than expected to connect.",
19+
"link":"Troubleshoot"
2020
},
2121
"unableToConnect":"Unable to connect"
2222
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp