Repository navigation
TerraVision 0.56.3
- For_each module calls with a
countresource draw correctly and no longer stall. Inside eachfor_eachinstance of a module, a resource made withcount(such asaws_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
countandfor_eachresources would grow the diagram past 10,000 nodes, or building the graph takes longer than 20 minutes, TerraVision stops, says why and asks for thetfdata.jsonthat--debugwrites.TV_MAX_NODESandTV_TIMEOUT_MINUTESchange the limits;0removes them. Terraform's owninitandplanare 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.