We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5469513 commit d43e370Copy full SHA for d43e370
docs/templates/resource-metadata.md
@@ -103,7 +103,28 @@ icons:
103
- Database `/icon/database.svg`
104
105
We also have other icons related to the IDEs. You can see all the icons
106
-[here](https://github.com/coder/coder/tree/main/site/static/icon).
+[here](./icons.md).
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
129
## Up next
130
0 commit comments