Closed Daniel-I-Am closed 8 months ago
Hey @Daniel-I-Am, thanks for the detailed report. I suspect this was introduced on this line: https://github.com/dineshba/tf-summarize/pull/60/files#diff-071d425dbd9ec6e84286a86dd0ac98090fc70d706487e97f0e8e7b3cec91ec3eR95
The check for being a no-op requires r.Change.Importing
to be present, which is probably not the case for most resources. I'll try to reproduce and fix later this week :)
Fixed with #74 and released as part of v0.3.10
This morning I updated our version of tf-summarize from 0.3.7 to 0.3.8 and the output has become very verbose in the
tree
format option.Example
I partially applied the following terraform code:
Real output
Expected output
The normal table view is correct, only showing changes to
random_id.b
andrandom_id.c
. However, in tree view, therandom_id.a
is also (incorrectly) shown. I'd expect that output to omitrandom_id.a
.Downgrading to 0.3.7 and running the same shows the expected output:
Environment info
Introduction
I ran a git bisect between 0.3.7 and 0.3.8:
Which points at this being introduced in #60