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
Expose key workspace information to your users via [`coder_metadata`](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/metadata) resources in your template code.
4
+
5
+

6
+
7
+
<blockquoteclass="info">
8
+
Coder automatically generates the <code>type</code> metadata.
9
+
</blockquote>
10
+
11
+
You can use `coder_metadata` to show
12
+
13
+
- Compute resources
14
+
- IP addresses
15
+
-[Secrets](../secrets.md#displaying-secrets)
16
+
- Important file paths
17
+
18
+
and any other Terraform resource attribute.
19
+
20
+
## Example
21
+
22
+
Expose the disk size, deployment name, and persistent
0 commit comments