terraform/configs/configschema
James Bardin 67dbd6d345 don't check MinItems with unknowns in blocks
If a block was defined via "dynamic", there will be only one block value
until the expansion is known. Since we can't detect dynamic blocks at
this point, don't verify MinItems while there are unknown values in the
config.

The decoder spec can also only check for existence of a block, so limit
the check to 0 or 1.
2019-07-27 11:50:28 -07:00
..
coerce_value.go don't check MinItems with unknowns in blocks 2019-07-27 11:50:28 -07:00
coerce_value_test.go don't check MinItems with unknowns in blocks 2019-07-27 11:50:28 -07:00
decoder_spec.go don't check MinItems with unknowns in blocks 2019-07-27 11:50:28 -07:00
decoder_spec_test.go don't check MinItems with unknowns in blocks 2019-07-27 11:50:28 -07:00
doc.go
empty_value.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
empty_value_test.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
implied_type.go plans/objchange: Hide sensitive attribute values in error messages 2019-02-11 17:26:50 -08:00
implied_type_test.go
internal_validate.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
internal_validate_test.go plans/objchange: logic for merging prior state with config 2018-10-16 19:11:09 -07:00
nestingmode_string.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
none_required.go
schema.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
validate_traversal.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
validate_traversal_test.go configs/configschema: Block.StaticValidateTraversal method 2018-11-26 08:25:03 -08:00