terraform/repl
Kristin Laemmert f6af7b4f7a
lang/funcs: add (console-only) TypeFunction (#28501)
* lang/funcs: add (console-only) TypeFunction

The type() function, which is only available for terraform console,
prints out the type of a given value. This is mainly intended for
debugging - it's nice to be able to print out terraform's understanding
of a complex variable.

This introduces a new field for Scope: ConsoleMode. When ConsoleMode is true, any additional functions intended for use in the console (only) may be added.
2021-04-23 10:29:50 -04:00
..
testdata/config-fixture repl: Fix tests 2018-10-16 19:14:11 -07:00
format.go lang/funcs: add (console-only) TypeFunction (#28501) 2021-04-23 10:29:50 -04:00
format_test.go cli: Fix rendering of long integers 2021-01-08 09:38:18 -05:00
repl.go repl: package for TF REPL 2016-11-13 23:17:03 -08:00
session.go remove unused 2020-12-02 13:59:18 -05:00
session_test.go Mildwonkey/providers interface renaming (#27805) 2021-02-18 10:13:43 -05:00