Skip to content

Commit 7e5a28b

Browse files
authored
chore: make gen to add missing docs (#231)
1 parent c683ad5 commit 7e5a28b

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

docs/data-sources/workspace_tags.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "coder_workspace_tags Data Source - terraform-provider-coder"
4+
subcategory: ""
5+
description: |-
6+
Use this data source to configure workspace tags to select provisioners.
7+
---
8+
9+
# coder_workspace_tags (Data Source)
10+
11+
Use this data source to configure workspace tags to select provisioners.
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Optional
19+
20+
- `tags` (Map of String) Key-value map with workspace tags
21+
22+
### Read-Only
23+
24+
- `id` (String) The ID of this resource.

docs/resources/metadata.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ data "coder_workspace" "me" {
1818
1919
resource "kubernetes_pod" "dev" {
2020
count = data.coder_workspace.me.start_count
21+
metadata {
22+
name = "k8s_example"
23+
namespace = "example"
24+
}
25+
spec {
26+
# Draw the rest of the pod!
27+
}
2128
}
2229
2330
resource "tls_private_key" "example_key_pair" {

examples/resources/coder_metadata/resource.tf

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ data "coder_workspace" "me" {
33

44
resource "kubernetes_pod" "dev" {
55
count = data.coder_workspace.me.start_count
6+
metadata {
7+
name = "k8s_example"
8+
namespace = "example"
9+
}
10+
spec {
11+
# Draw the rest of the pod!
12+
}
613
}
714

815
resource "tls_private_key" "example_key_pair" {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy