Unable to parse comments in the list
monester opened this issue · comments
Alexander Charykov commented
I've following code in my terraform:
locals {
mymap = concat([{"1": "1"}],
# comment
[{"2": "2"}])
}
which is not able to load:
UnexpectedToken: Unexpected token Token('LSQB', '[') at line 4, column 3.
Expected one of:
* RPAR
Previous tokens: [Token('_NEW_LINE_OR_COMMENT', '# comment\n')]
But it is correct terraform syntax.