terraform/repl
Martin Atkins 5659128126 repl: fix formatting of list and map values
The indent function was stripping out newlines, causing multi-element
lists and maps to be rendered incorrectly.

We were also not quoting strings in these nested structures, leading to
weird behavior if any expression punctuation or newlines were present in
these strings.

This part of Terraform will get a more serious overhaul as part of
switching to the new parser/interpreter implementation but this is a
tactical fix to make the results of this command more usable in the
short term.
2018-03-28 14:43:45 -07:00
..
format.go repl: fix formatting of list and map values 2018-03-28 14:43:45 -07:00
repl.go
session.go
session_test.go terraform: improve error messages to assist REPL 2016-11-13 23:17:04 -08:00