Closed nwmahoney closed 5 years ago
That’s weird! What version of leftovers is this? The vpc code checks if the vpc id (name) contains the filter and also checks that the vpc is not the default, but otherwise, it returns it as deletable. The vpc and these other resources are also in the same region?
The vpc code hasn’t changed in a while so I’m really curious why it would be skipping or not seeing these vpcs.
I wonder if this is an old version of leftovers because the formatting of the output is really unusual.
Update
The vpcs were not showing up because they belonged to a different aws region than the one passed to leftovers
. The iam resources are showing up because iam resources do not belong to any region, they are globally available resources.
User error :)
Thanks!
leftovers output:
VPC section on AWS console:
As you can see above, the VPCs exist that match the filter, but leftovers isn't finding them ☹️ .