mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-04-09 18:01:49 -04:00
From helping folks in community forums I've noticed that many people misunderstand "type = any" as being a shorthand to avoid writing out a proper type constraint, rather than as a way to handle the very rare case where a module truly does not care what type of value it's accepting. This is understandable because the previous documentation only described how this feature behaved, and not what this feature was for. This new content instead leads by describing the single rare situation where this feature is appropriate to use, and only then explains some details of how it works. Hopefully this will help avoid misleading people into using this placeholder in inappropriate situations, and thus allow Terraform to give them better feedback about errors elsewhere in their configurations.