Skip to content

Commit 8951940

Browse files
committed
adding the example before release
The example needs the release. So it's invalid until we push a tag
1 parent d25fcf6 commit 8951940

File tree

2 files changed

+0
-64
lines changed

2 files changed

+0
-64
lines changed

docs/data-sources/parameter.md

-32
Original file line numberDiff line numberDiff line change
@@ -130,38 +130,6 @@ data "coder_parameter" "home_volume_size" {
130130
monotonic = "increasing"
131131
}
132132
}
133-
134-
data "coder_parameter" "tools" {
135-
name = "Tools"
136-
description = "What tools do you want to install?"
137-
type = "list(string)"
138-
form_type = "multi-select"
139-
styling = jsonencode({
140-
# Arbitrary JSON object to be passed to the frontend
141-
})
142-
default = jsonencode(["git", "docker"])
143-
144-
option {
145-
value = "Docker"
146-
name = "docker"
147-
icon = "/icon/docker.svg"
148-
}
149-
option {
150-
value = "Git"
151-
name = "git"
152-
icon = "/icon/git.svg"
153-
}
154-
option {
155-
value = "Golang"
156-
name = "go"
157-
icon = "/icon/go.svg"
158-
}
159-
option {
160-
value = "Typescript"
161-
name = "ts"
162-
icon = "/icon/typescript.svg"
163-
}
164-
}
165133
```
166134

167135
<!-- schema generated by tfplugindocs -->

examples/data-sources/coder_parameter/data-source.tf

-32
Original file line numberDiff line numberDiff line change
@@ -114,36 +114,4 @@ data "coder_parameter" "home_volume_size" {
114114
validation {
115115
monotonic = "increasing"
116116
}
117-
}
118-
119-
data "coder_parameter" "tools" {
120-
name = "Tools"
121-
description = "What tools do you want to install?"
122-
type = "list(string)"
123-
form_type = "multi-select"
124-
styling = jsonencode({
125-
# Arbitrary JSON object to be passed to the frontend
126-
})
127-
default = jsonencode(["git", "docker"])
128-
129-
option {
130-
value = "Docker"
131-
name = "docker"
132-
icon = "/icon/docker.svg"
133-
}
134-
option {
135-
value = "Git"
136-
name = "git"
137-
icon = "/icon/git.svg"
138-
}
139-
option {
140-
value = "Golang"
141-
name = "go"
142-
icon = "/icon/go.svg"
143-
}
144-
option {
145-
value = "Typescript"
146-
name = "ts"
147-
icon = "/icon/typescript.svg"
148-
}
149117
}

0 commit comments

Comments
 (0)