opentofu/plans
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
..
internal/planproto Regenerate protobuf files under latest versions 2019-09-05 14:36:15 +02:00
objchange Unknown set blocks with dynamic may have 0 elems 2020-07-23 15:47:34 -04:00
planfile finish provider ModuleInstance replacement 2020-03-11 14:19:52 -04:00
action_string.go stringer: Regenerate files with latest version 2019-05-13 15:34:27 +01:00
action.go Version tools per Go convention under tools.go 2019-10-17 22:23:39 +02:00
changes_src.go fix typo ResourceInstancChange to ResourceInstanceChange 2020-05-13 17:14:58 +09:00
changes_state.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
changes_sync.go rename methods for ConfigResource changes 2020-05-13 13:58:11 -04:00
changes.go rename methods for ConfigResource changes 2020-05-13 13:58:11 -04:00
doc.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value_test.go plans: New package for in-memory plan models 2018-10-16 18:50:29 -07:00
dynamic_value.go don't convert empty DynamicValue to nil 2018-12-20 10:28:26 -05:00
plan_test.go finish provider ModuleInstance replacement 2020-03-11 14:19:52 -04:00
plan.go terraform: Ugly huge change to weave in new State and Plan types 2018-10-16 19:11:09 -07:00