Skip to content

Commit b0fafa0

Browse files
update
1 parent 16e8e76 commit b0fafa0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code-server/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ resource "coder_script" "code-server" {
8282
LOG_PATH : var.log_path,
8383
INSTALL_PREFIX : var.install_prefix,
8484
// This is necessary otherwise the quotes are stripped!
85-
SETTINGS : replace(replace(replace(jsonencode(var.settings), "\"", "\\\""),"\"\u005d","\u005d\\\""),"\u005b\","\\\"\u005b")
85+
SETTINGS : replace(jsonencode(var.settings), "\"\"", "\\\""),
86+
})
8687
run_on_start = true
8788
}
8889

0 commit comments

Comments
 (0)