Diagrams/abstraction for Terraform code - not for generated infrastructure

While there seem to be many tools to create diagrams about the infrastructure generated by Terraform code - what I would like is a semi-abstract way to talk about the structures of Terraform code, to let me plan a way to implement a required feature, for example.

Hence, perhaps, a diagram, showing modules, variables, attached policies to resources - where legal/allowed or required - and so on.

The alternative is repeated cycles of edit/init/plan/debug