Skip to content

Commit b5d15b4

Browse files
committed
chore: make gen to add missing docs
1 parent c683ad5 commit b5d15b4

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

docs/data-sources/workspace_tags.md

+24
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

+7
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

+7
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)