opentofu/repl
Martin Atkins f085af4ba6 command: update "terraform console" for HCL2
This now uses the HCL2 parser and evaluator APIs and evaluates in terms
of a new-style *lang.Scope, rather than the old terraform.Interpolator
type that is no longer functional.

The Context.Eval method used here behaves differently than the
Context.Interpolater method used previously: it performs a graph walk
to populate transient values such as input variables, local values, and
output values, and produces its scope in terms of the result of that
graph walk. Because of this, it is a lot more robust than the prior method
when asked to resolve references other than those that are persisted
in the state.
2018-10-16 18:46:46 -07:00
..
format.go command: update "terraform console" for HCL2 2018-10-16 18:46:46 -07:00
repl.go repl: package for TF REPL 2016-11-13 23:17:03 -08:00
session_test.go terraform: improve error messages to assist REPL 2016-11-13 23:17:04 -08:00
session.go command: update "terraform console" for HCL2 2018-10-16 18:46:46 -07:00