Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 899b2c7

Browse files
committed
chore: add static option to test tf
Unit test needs to pass in a valid value
1 parent 6bef80c commit 899b2c7

File tree

1 file changed

+1
-1
lines changed
  • coderd/testdata/parameters/groups

1 file changed

+1
-1
lines changed

coderd/testdata/parameters/groups/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ data "coder_parameter" "group" {
1212
name = "group"
1313
default = try(data.coder_workspace_owner.me.groups[0], "")
1414
dynamic "option" {
15-
for_each = data.coder_workspace_owner.me.groups
15+
for_each = concat(data.coder_workspace_owner.me.groups, "bloob")
1616
content {
1717
name = option.value
1818
value = option.value

0 commit comments

Comments
 (0)