TerraVision 0.56.2
- Modules called more than once are drawn correctly. When one module folder was called several times, a resource in one call was linked to the same resource in every other call, so
module.per_team["a"]'s bucket versioning pointed at the buckets ofmodule.sharedand every other call. On large projects the extra links could stall the draw. References inside a module now link only within their own module call andfor_eachkey (#294). Thanks to @iankyslytsya for the report and the diagnosis. - Every call of a module gets its links. Only the first call of a module folder, and no
for_eachorcountinstance of a module, got the references that links are built from, so most of their resources appeared unconnected. Each call and instance now has them (#295). - Terragrunt works with both Terraform and OpenTofu installed. Terragrunt uses OpenTofu by default when it is installed, while TerraVision prefers Terraform, so reading the plan failed with "plan files cannot be transferred between different Terraform versions". TerraVision now tells Terragrunt to use the same binary it does, so
--enginecovers Terragrunt too. ATG_TF_PATHyou set yourself is left alone.
Diagrams of projects that call one module folder more than once, or call a module with for_each or count, gain the missing links and lose the wrong ones. Other diagrams are unchanged.