opentofu/config
Paul Hinze e88aeede9b core: allow distinguishing between empty lists and strings
Had to handle a lot of implicit leaning on a few properties of the old
representation:

 * Old representation allowed plain strings to be treated as lists
   without problem (i.e. shoved into strings.Split), now strings need to
   be checked whether they are a list before they are treated as one
   (i.e. shoved into StringList(s).Slice()).
 * Tested behavior of 0 and 1 length lists in formatlist() was a side
   effect of the representation. Needs to be special cased now to
   maintain the behavior.
 * Found a pretty old context test failure that was wrong in several
   different ways. It's covered by TestContext2Apply_multiVar so I
   removed it.
2015-06-25 18:53:35 -05:00
..
lang Condense switch fallthroughs into expr lists 2015-05-26 21:52:36 -04:00
module config: add module raw configs to InterpolatedConfigs [GH-1448] 2015-04-29 17:12:28 -07:00
test-fixtures config: parse lifecycle block with mapstructure for weak decode 2015-06-07 22:04:23 -07:00
append_test.go config: allow atlas block 2015-03-24 13:30:22 -07:00
append.go config: allow atlas block 2015-03-24 13:30:22 -07:00
config_string.go config: add Config method 2014-10-02 11:34:08 -07:00
config_test.go Add a function to load JSON directly 2015-06-23 16:15:26 +02:00
config_tree.go config: make Merge an exported func 2014-07-18 17:05:22 -07:00
config.go terraform: missing provider should add missing aliases [GH-2023] 2015-06-24 20:58:52 -07:00
import_tree.go Condense switch fallthroughs into expr lists 2015-05-26 21:52:36 -04:00
interpolate_funcs_test.go core: allow distinguishing between empty lists and strings 2015-06-25 18:53:35 -05:00
interpolate_funcs.go core: allow distinguishing between empty lists and strings 2015-06-25 18:53:35 -05:00
interpolate_test.go config: self variables 2015-02-23 14:34:25 -08:00
interpolate_walk_test.go core: allow distinguishing between empty lists and strings 2015-06-25 18:53:35 -05:00
interpolate_walk.go core: allow distinguishing between empty lists and strings 2015-06-25 18:53:35 -05:00
interpolate.go config: self variables 2015-02-23 14:34:25 -08:00
lang.go config/lang; missed file 2015-01-15 09:40:36 -08:00
loader_hcl_test.go config: HCL loader 2014-08-11 09:58:53 -07:00
loader_hcl.go config: parse lifecycle block with mapstructure for weak decode 2015-06-07 22:04:23 -07:00
loader_test.go config: fix test error 2015-06-23 22:30:41 -07:00
loader.go Add a function to load JSON directly 2015-06-23 16:15:26 +02:00
merge_test.go config: allow atlas block 2015-03-24 13:30:22 -07:00
merge.go config: allow atlas block 2015-03-24 13:30:22 -07:00
raw_config_test.go config: if any var is computed, the entire interpolation is computed 2015-02-27 22:47:43 -08:00
raw_config.go core: keys() and values() funcs for map variables 2015-06-02 16:49:51 -05:00
string_list.go core: allow distinguishing between empty lists and strings 2015-06-25 18:53:35 -05:00