You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error:
Traceback (most recent call last):
File "C:\Users\xxxxxxx\AppData\Local\Programs\Python\Python310\lib\site-packages\lark\parsers\lalr_parser_state.py", line 77, in feed_token
action, arg = states[state][token.type]
KeyError: 'NAME'
Discovered workarounds (just using the first example from above, but works for all of them): locals { issue_fix1 = { A = ("foo" == "bar") ? "this" : "that" B = "hello" } issue_fix2 = { A = ("foo" == "bar" ? "this" : "that") B = "hello" } issue_fix3 = { A = "foo" == "bar" ? "this" : "that", B = "hello" } }
The text was updated successfully, but these errors were encountered:
Terraform examples exhibiting the problem. Leave the "B" line there and use any of the other "A" lines with the "B" line:
locals { issue = { #A = "foo" == "bar" ? "this" : "that" #A = "foo" == "bar" A = 3 + 1 B = "hello" } }
Error:
Traceback (most recent call last):
File "C:\Users\xxxxxxx\AppData\Local\Programs\Python\Python310\lib\site-packages\lark\parsers\lalr_parser_state.py", line 77, in feed_token
action, arg = states[state][token.type]
KeyError: 'NAME'
Discovered workarounds (just using the first example from above, but works for all of them):
locals { issue_fix1 = { A = ("foo" == "bar") ? "this" : "that" B = "hello" } issue_fix2 = { A = ("foo" == "bar" ? "this" : "that") B = "hello" } issue_fix3 = { A = "foo" == "bar" ? "this" : "that", B = "hello" } }
The text was updated successfully, but these errors were encountered: