You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
Issue
If your account (and targeted regions) includes a KMS key that the user running aws-nuke is unable to describe, aws-nuke will stop trying to delete any other KMS keys.
Steps to reproduce
Create some KMS keys and include your aws-nuke user/ role as a key administrator (with administrators allowed to delete the key)
Run aws-nuke. You should see that some manageable KMS keys have not been scheduled for deletion.
Cause
The return false on line 36 here causes aws-nuke to prematurely exit the ListKMSKeys function if it encounters an error. This results in any listed KMS keys that haven't already been iterated over from being added to the resources for deletion (line 63), and aws-nuke therefore doesn't attempt to delete other keys.
Preferred solution
Don't return out of listing the KMS keys when encountering a key that can't be described. Instead, continue iterating over the remaining keys in the list
The text was updated successfully, but these errors were encountered:
@wushingmushine this was fixed in the newly promoted fork of aws-nuke that's the successor to this project, please see ekristen/aws-nuke#260, this has been fixed since 3.13.1 over there.
Please see a copy of the notice from the README about the deprecation of this project. Sven was kind enough to grant me access to help triage and close issues and pull requests that have already been addressed in the actively maintained fork. Some additional information is located in the welcome issue for more information.
Caution
This repository for aws-nuke is no longer being actively maintained. We recommend users to switch to the actively maintained fork of this project at ekristen/aws-nuke.
We appreciate all the support and contributions we've received throughout the life of this project. We believe that the fork will continue to provide the functionality and support that you have come to expect from aws-nuke.
Please note that this deprecation means we will not be addressing issues, accepting pull requests, or making future releases from this repository.
Thank you for your understanding and support.
Issue
If your account (and targeted regions) includes a KMS key that the user running aws-nuke is unable to describe, aws-nuke will stop trying to delete any other KMS keys.
Steps to reproduce
Cause
The
return false
on line 36 here causes aws-nuke to prematurely exit the ListKMSKeys function if it encounters an error. This results in any listed KMS keys that haven't already been iterated over from being added to the resources for deletion (line 63), and aws-nuke therefore doesn't attempt to delete other keys.Preferred solution
Don't
return
out of listing the KMS keys when encountering a key that can't be described. Instead, continue iterating over the remaining keys in the listThe text was updated successfully, but these errors were encountered: