'AWS can not delete RDS cluster in inaccessible-encryption-credentials-recoverable state

My Aurora cluster used a KMS key to encrypt. A few days ago I scheduled to delete that key. Now the database is in a inaccessible-encryption-credentials-recoverable state. I want to remove the cluster, however it failed to delete no matter I used the console or AWS cli. I have recovered the KMS key. How can I delete the Aurora cluster? enter image description here



Solution 1:[1]

You aren't billed for storage of an RDS cluster/instance in this state according to https://docs.aws.amazon.com/en_us/AmazonRDS/latest/UserGuide/accessing-monitoring.html, but I have found working with this state that the only way to delete the instance is to request AWS Support to delete it for you.

Solution 2:[2]

The problem is that %(record_id) is not available in the non-custom context, so the logger internally raises a KeyError when trying to interpolate the formatting string.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Trevor Mack
Solution 2 jeffknupp