Skip to content

chore: make gen to add missing docs #231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/data-sources/workspace_tags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "coder_workspace_tags Data Source - terraform-provider-coder"
subcategory: ""
description: |-
Use this data source to configure workspace tags to select provisioners.
---

# coder_workspace_tags (Data Source)

Use this data source to configure workspace tags to select provisioners.



<!-- schema generated by tfplugindocs -->
## Schema

### Optional

- `tags` (Map of String) Key-value map with workspace tags

### Read-Only

- `id` (String) The ID of this resource.
7 changes: 7 additions & 0 deletions docs/resources/metadata.md
Original file line number Diff line number Diff line change
@@ -18,6 +18,13 @@ data "coder_workspace" "me" {

resource "kubernetes_pod" "dev" {
count = data.coder_workspace.me.start_count
metadata {
name = "k8s_example"
namespace = "example"
}
spec {
# Draw the rest of the pod!
}
}

resource "tls_private_key" "example_key_pair" {
7 changes: 7 additions & 0 deletions examples/resources/coder_metadata/resource.tf
Original file line number Diff line number Diff line change
@@ -3,6 +3,13 @@ data "coder_workspace" "me" {

resource "kubernetes_pod" "dev" {
count = data.coder_workspace.me.start_count
metadata {
name = "k8s_example"
namespace = "example"
}
spec {
# Draw the rest of the pod!
}
}

resource "tls_private_key" "example_key_pair" {