Open kevit opened 1 year ago
Could you please provide the current tf-summarize output for the above terraform plan?
I used tf-summarize in the past without any problem but I think I hit this problem just now. Can I send you the plan directly @dineshba ? I will sent a redacted version.
The -json flag doesn't show version changes (for example) to helm charts
Given this is input tf-summarize -json picks up the changes but displays {}
I don't think this is the expected behaviour?
Hi @buckleyGI , I have created a new release to surface this error and print in stderr. Could you please update to https://github.com/dineshba/tf-summarize/releases/tag/v0.3.13 and try it and let me know if the error is similar to
error: unmarshalling diff: invalid character '}' looking for beginning of value
I was able to reproduce this issue.
Working tfplan.json tfplan.json Notworking tfplan.json tfplan-notworking.json
tf-summarize -json tfplan.json
In this tfplan-notworking.json, I have removed the metadata field in the after resource_change which is creating this issue.
Fix needs little more extra time to investigation. So, I made a quick fix to print the raw format if there is issue with formatting jsondiff
I will try to fix it. If someone is able to contribute, please help here
Imagine a situation when you want to add one more record in route table as below
tf-summarize marked only that resource is updated, but not mentioned that new records(or changed records) took place
Expected behaviour: list of changed records