We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46a0a7 commit 1907d5aCopy full SHA for 1907d5a
provider/parameter_test.go
@@ -227,19 +227,23 @@ func TestParameter(t *testing.T) {
227
data "coder_parameter" "region" {
228
name = "Region"
229
type = "string"
230
- default = "1"
+ default = "2"
231
option {
232
name = "1"
233
value = "1"
234
icon = "/icon/code.svg"
235
description = "Something!"
236
}
237
+ option {
238
+ name = "2"
239
+ value = "2"
240
+ }
241
242
`,
243
Check: func(state *terraform.ResourceState) {
244
for key, expected := range map[string]string{
245
"name": "Region",
- "option.#": "1",
246
+ "option.#": "2",
247
"option.0.name": "1",
248
"option.0.value": "1",
249
"option.0.icon": "/icon/code.svg",
0 commit comments