HCL like test = "hello\\" or even with any amount of backslash like "hello\", "hello\\\" or "hello\\\\" always end up with a EOF before closing string quote. Adding an additional string quote at the end work, but add a double quote at the end of the string.