terraform/plans/objchange
James Bardin 2b4101fdff Unknown set blocks with dynamic may have 0 elems
The couldHaveUnknownBlockPlaceholder helper was added to detect when a
set block has a placeholder for an unknown number of values. This worked
fine when the number increased from 1, but we were still attempting to
validate the unknown placeholder against the empty set when the final
count turned out to be 0.

Since we can't differentiate the unknown dynamic placeholder value from
an actual set value, we have to skip that object's validation
altogether.
2020-07-23 15:47:34 -04:00
..
action.go backend/local: treat output changes as side-effects to be applied 2020-05-29 07:36:40 -07:00
all_null.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
compatible.go Unknown set blocks with dynamic may have 0 elems 2020-07-23 15:47:34 -04:00
compatible_test.go Unknown set blocks with dynamic may have 0 elems 2020-07-23 15:47:34 -04:00
doc.go plans/objchange: logic for merging prior state with config 2018-10-16 19:11:09 -07:00
lcs.go plans/objchange: LongestCommonSubsequence 2018-10-16 19:14:11 -07:00
lcs_test.go plans/objchange: LongestCommonSubsequence 2018-10-16 19:14:11 -07:00
normalize_obj.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
normalize_obj_test.go plans/objchange: Don't panic when dynamic-typed attrs are present 2019-03-11 08:18:26 -07:00
objchange.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
objchange_test.go don't add empty blocks in ProposedNewObject 2019-03-02 11:21:59 -05:00
plan_valid.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
plan_valid_test.go plans/objchange: Don't panic when prior state contains nested map blocks 2019-03-18 09:16:50 -07:00