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.8k stars 357 forks source link

Legacy checks removal #742

Closed denis256 closed 3 months ago

denis256 commented 3 months ago

Description

Noticed a couple of invalid checks:

aws/resources/kms_customer_key.go:64:10: impossible condition: nil != nil
aws/resources/lambda_layer.go:134:10: impossible condition: nil != nil
aws/resources/security_hub.go:108:9: tautological condition: nil == nil

TODOs

Read the Gruntwork contribution guidelines.

Release Notes (draft)

Added / Removed / Updated [X].

Removed legacy code

Migration Guide