File tree 3 files changed +38
-0
lines changed
examples/resources/coder_metadata
3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change @@ -18,6 +18,13 @@ data "coder_workspace" "me" {
18
18
19
19
resource "kubernetes_pod" "dev" {
20
20
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
+ }
21
28
}
22
29
23
30
resource "tls_private_key" "example_key_pair" {
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ data "coder_workspace" "me" {
3
3
4
4
resource "kubernetes_pod" "dev" {
5
5
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
+ }
6
13
}
7
14
8
15
resource "tls_private_key" "example_key_pair" {
You can’t perform that action at this time.
0 commit comments