github patrickchugh/terravision v0.56.2

46 minutes ago

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 of module.shared and 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 and for_each key (#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_each or count instance 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 --engine covers Terragrunt too. A TG_TF_PATH you 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.

Don't miss a new terravision release

NewReleases is sending notifications on new releases.