github patrickchugh/terravision v0.56.3

one hour ago

TerraVision 0.56.3

  • For_each module calls with a count resource draw correctly and no longer stall. Inside each for_each instance of a module, a resource made with count (such as aws_s3_bucket_lifecycle_configuration.rule[0]) passed its settings to every other resource of every instance. Each instance then linked every resource to every other and to itself, and the copies multiplied until the draw never finished. Each resource now keeps its own settings (#294). Thanks to @iankyslytsya for the report and for pinpointing the cause.
  • Runs that go wrong stop with an error instead of stalling. If copying count and for_each resources would grow the diagram past 10,000 nodes, or building the graph takes longer than 20 minutes, TerraVision stops, says why and asks for the tfdata.json that --debug writes. TV_MAX_NODES and TV_TIMEOUT_MINUTES change the limits; 0 removes them. Terraform's own init and plan are not timed.

Diagrams of projects that call a module with for_each, where the module has a count resource, lose the wrong links. Other diagrams are unchanged.

Don't miss a new terravision release

NewReleases is sending notifications on new releases.