google / cloud-forensics-utils

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

GCP deleteinstance not working #273

Closed Silv3rHorn closed 3 years ago

Silv3rHorn commented 3 years ago

Version: 20201124.1

To reproduce cloudforensics gcp <project id> deleteinstance --delete_all_disks <instance name to delete>

Error Message:

Traceback (most recent call last):
  File "/usr/local/bin/cloudforensics", line 10, in <module>
    sys.exit(Main())
  File "/Library/Python/3.8/site-packages/tools/cli.py", line 367, in Main
    parsed_args.func(parsed_args)
  File "/Library/Python/3.8/site-packages/tools/gcp_cli.py", line 98, in DeleteInstance
    instance.Delete(delete_disks=args.delete_disks)
AttributeError: 'Namespace' object has no attribute 'delete_disks'