aws-inventory icon indicating copy to clipboard operation
aws-inventory copied to clipboard

empty namespaces still return values

Open DawidKrysiak opened this issue 1 year ago • 1 comments

Not a big issue, but I wonder if anyone has a quick solution for it. I am using this script to generate an inventory for documentation purposes (I save nicely formatted yaml files rather than jsons). I wish to achieve two things

  1. avoid adding empty sections as per below - is there a way to omit those?
ec2: []
ec2-ebs: []
ec2-egpu: []
ec2-eips: []
  1. only return specific fields from an inventory. e.g: for EvenBus, I only need 'Name', not a whole blob of 17 lines.

Kind regards Dawid

DawidKrysiak avatar Oct 07 '22 09:10 DawidKrysiak