jckuester / awsweeper

A tool for cleaning your AWS account
Mozilla Public License 2.0
469 stars 45 forks source link

Remove null fields with `null` value from JSON and YAML output #39

Closed jckuester closed 4 years ago

jckuester commented 5 years ago

This is what it currently looks like:

  {
    "Type": "aws_iam_role",
    "ID": "AWSServiceRoleForAutoScaling",
    "Tags": null,
    "Created": null,
    "Attrs": null
  },
- type: aws_iam_role
  id: AWSServiceRoleForAutoScaling
  tags: {}
  created: null
  attrs: {}