File tree 5 files changed +8
-26
lines changed 5 files changed +8
-26
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "versions" : [" main" ],
2
+ "versions" : [
3
+ " main"
4
+ ],
3
5
"routes" : [
4
6
{
5
7
"title" : " About" ,
373
375
"icon_path" : " ./images/icons/scale.svg"
374
376
},
375
377
{
376
- "title" : " Provisioners" ,
378
+ "title" : " External Provisioners" ,
377
379
"description" : " Run provisioners isolated from the Coder server" ,
378
380
"path" : " ./admin/provisioners.md" ,
379
381
"icon_path" : " ./images/icons/queue.svg" ,
Original file line number Diff line number Diff line change 3
3
![ agent-metadata] ( ../images/agent-metadata.png )
4
4
5
5
You can show live operational metrics to workspace users with agent metadata. It
6
- is the dynamic complement of [ Resource Metadata ] ( ./resource-metadata.md ) .
6
+ is the dynamic complement of [ resource metadata ] ( ./resource-metadata.md ) .
7
7
8
8
You specify agent metadata in the
9
9
[ ` coder_agent ` ] ( https://registry.terraform.io/providers/coder/coder/latest/docs/resources/agent ) .
Original file line number Diff line number Diff line change 1
1
# Working with templates
2
2
3
- You create and edit Coder templates as [ Terraform] ( ./concepts .md ) configuration
3
+ You create and edit Coder templates as [ Terraform] ( ./tour .md ) configuration
4
4
files (` .tf ` ) and any supporting files, like a README or configuration files for
5
5
other services.
6
6
Original file line number Diff line number Diff line change @@ -105,26 +105,6 @@ icons:
105
105
We also have other icons related to the IDEs. You can see more information on
106
106
how to use the builtin icons [ here] ( ./icons.md ) .
107
107
108
- ## Agent Metadata
109
-
110
- In cases where you want to present automatically updating, dynamic values. You
111
- can use the ` metadata ` block in the ` coder_agent ` resource. For example:
112
-
113
- ``` hcl
114
- resource "coder_agent" "dev" {
115
- os = "linux"
116
- arch = "amd64"
117
- dir = "/workspace"
118
- metadata {
119
- name = "Process Count"
120
- script = "ps aux | wc -l"
121
- interval = 1
122
- timeout = 3
123
- }
124
- }
125
- ```
126
-
127
- Read more [ here] ( ./agent-metadata.md ) .
128
108
129
109
## Up next
130
110
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ so that a developer can continue their work when they start the workspace again.
276
276
277
277
We do this in 2 parts:
278
278
279
- - Our ` docker_volume ` resource uses the ` lifecycle ` block with
279
+ - Our ` docker_volume ` resource uses the ` lifecycle ` block with the
280
280
` ignore_changes = all ` argument to prevent accidental deletions.
281
281
- To prevent Terraform from destroying persistent Docker volumes in case of a
282
282
workspace name change, we use an immutable parameter, like
@@ -406,7 +406,7 @@ The template-tour template has been created! Developers can provision a workspac
406
406
coder create --template="template-tour" [workspace name]
407
407
```
408
408
409
- In your web browser, log in to your Coder dashboard, select ** \* Templates** .
409
+ In your web browser, log in to your Coder dashboard, select ** Templates** .
410
410
Your template is ready to use for new workspaces.
411
411
412
412
![ Your new template, ready to use] ( ../images/templates/template-tour.png )
You can’t perform that action at this time.
0 commit comments