terraform/lang
Martin Atkins 6adcc7ab73 vendor: go get github.com/zclconf/go-cty@master
cty now guarantees that sets of primitive values will iterate in a
reasonable order. Previously it was the caller's responsibility to deal
with that, but we invariably neglected to do so, causing inconsistent
ordering. Since cty prioritizes consistent behavior over performance, it
now imposes its own sort on set elements as part of iterating over them so
that calling applications don't have to worry so much about it.

This change also causes cty to consistently push unknown and null values
in sets to the end of iteration, where before that was undefined. This
means that our diff output will now consistently list additions before
removals when showing sets, rather than the ordering being undefined as
before.

The ordering of known, non-null, non-primitive values is still not
contractually fixed but remains consistent for a particular version of
cty.
2019-04-30 15:49:28 -07:00
..
blocktoattr lang/blocktoattr: Apply fixup within already-fixed-up blocks too 2019-04-05 14:22:41 -07:00
funcs vendor: go get github.com/zclconf/go-cty@master 2019-04-30 15:49:28 -07:00
testdata/functions-test lang/funcs: add acc tests for functions (#21112) 2019-04-29 13:11:28 -04:00
data.go core: Static-validate resource references against schemas 2018-11-26 08:25:03 -08:00
data_test.go core: Static-validate resource references against schemas 2018-11-26 08:25:03 -08:00
doc.go lang: new package for the runtime parts of the config language 2018-10-16 18:44:26 -07:00
eval.go lang: EvalBlock should use ReferencesInBlock 2019-04-03 15:57:17 -07:00
eval_test.go lang: EvalBlock should use ReferencesInBlock 2019-04-03 15:57:17 -07:00
functions.go lang/funcs: add 'strrev' interpolation function. (#21091) 2019-04-24 14:52:39 -04:00
functions_test.go lang/funcs: add acc tests for functions (#21112) 2019-04-29 13:11:28 -04:00
references.go lang: Detect references when a list/set attr is defined using blocks 2019-03-28 10:41:01 -07:00
scope.go terraform: ugly huge change to weave in new HCL2-oriented types 2018-10-16 18:46:46 -07:00