trek10inc / awsets

A utility for crawling an AWS account and exporting all its resources for further analysis.
MIT License
204 stars 25 forks source link

awssets accepts include with -- #6

Closed dgomesbr closed 4 years ago

dgomesbr commented 4 years ago

Hello,

Discovered this by accident, trying to list only EC2 resources.

  1. ./awsets list -o all.json include ec2 scans all the resources, instead of throwing an error.
  2. ./awsets list -o all.json --include ec2 works correctly
jcarter3 commented 4 years ago

I added a validation step to fail & print help when args are passed (and not expected). Thanks for the feedback!