cloud-nuke icon indicating copy to clipboard operation
cloud-nuke copied to clipboard

Runtime error: invalid memory address or nil pointer dereference

Open TheOutsSeeker opened this issue 1 year ago • 3 comments

Running the latest version of cloud-nuke v0.36.0 with the parameter crashes.

AWS_PROFILE=<Your-AWS-Profile> cloud-nuke inspect-aws --exclude-first-seen, throws in my case the following error message after ~7+ mins.

"Searching eip resources in eu-central-1 (7m12s)ERRO[2024-07-01T15:19:19+01:00] runtime error: invalid memory address or nil pointer dereference binary=cloud-nuke version=v0.36.0"

Tested it on ARM & AMD x86_64 macOS v14.4.1.

Excluding the EIP resource from scans avoids the exception.

AWS_PROFILE=<Your-AWS-Profile> cloud-nuke inspect-aws --exclude-first-seen --exclude-resource-type eip

TheOutsSeeker avatar Jul 01 '24 18:07 TheOutsSeeker

Hi @TheOutsSeeker, I cannot reproduce the same issue on the newest release. Can you try out using the new release? https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.37.0

james00012 avatar Jul 03 '24 21:07 james00012

Yes, of course - I will get back to you.

TheOutsSeeker avatar Jul 03 '24 23:07 TheOutsSeeker

The binaries aren't available here: https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.37.0 for download yet

TheOutsSeeker avatar Jul 04 '24 12:07 TheOutsSeeker

Can you try with this one? https://github.com/gruntwork-io/cloud-nuke/releases/tag/v0.37.1

james00012 avatar Jul 06 '24 01:07 james00012

Thanks. With the latest version I can't reproduce the issue anymore either.

TheOutsSeeker avatar Jul 07 '24 23:07 TheOutsSeeker

Thanks.

TheOutsSeeker avatar Jul 07 '24 23:07 TheOutsSeeker