mirror of https://github.com/hashicorp/terraform
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.pull/22221/head
parent
682286e184
commit
67dbd6d345
Loading…
Reference in new issue