gruntwork-io / cloud-nuke

A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it
https://gruntwork.io/
MIT License
2.81k stars 358 forks source link

EIP timestamp parsing error #670

Closed ellisonc closed 7 months ago

ellisonc commented 7 months ago

Encountered a bug retrieving EIPs, the timestamp for one appeared to be in an unexpected format causing the entire resource list process to fail for eips.

Unable to retrieve eip, parsing time "2023-11-14 17:40:32" as "2006-01-02T15:04:05Z07:00": cannot parse " 17:40:32" as "T"

sbocinec commented 7 months ago

I've experienced the same error with the latest cloud-nuke version 0.35.0: ERROR Unable to retrieve eip, parsing time "2023-12-19 10:34:26" as "2006-01-02T15:04:05Z07:00": cannot parse " 10:34:26" as "T"

sbocinec commented 7 months ago

I've created a quick fix proposal for this issue https://github.com/gruntwork-io/cloud-nuke/pull/678