google / cloud-forensics-utils

Python library to carry out DFIR analysis on the Cloud
Apache License 2.0
452 stars 89 forks source link

Fix deleteInstance when no VPC #481

Closed Fryyyyy closed 9 months ago

Fryyyyy commented 1 year ago

Allow for a None value of VPC, which isn't used in the Delete call anyway. No new EC2 instances are allowed to be created without a VPC by AWS so this only applies to old ones. Fixes #462

ramo-j commented 9 months ago

No new EC2 instances are allowed to be created without a VPC by AWS so this only applies to old ones.

I think very recently, AWS turned off EC2 classic, so maybe this isn't even a thing any more.