-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RDS: "DBCluster not found" if deletionProtection
changes
#25988
Comments
What's your |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
I've added cdk diff output to the original post. I can't reproduce the issue outside of that particular stack. What I just noticed is that my DB is called vtlb3-vtlbdbf5332276-4uuqn6ztsud7. I don't know where that 3 came from since the stack name is called VTLB. But my hunch is that this 3 is the culprit. The ID that I give to the cluster in my code is "VTLB-DB". So maybe I just deleted the cluster 🤷 Would be helpful if CloudFormation say which physical ID it was looking for - that would've pointed me in the right direction right away. |
Yeah it's probably not an issue with deletion protection, but some weirdness with names coming from somewhere. If you find a way to reproduce that, let us know. Otherwise, I'm not sure there's much we can help with here. |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Describe the bug
I was getting a very strange error DBCluster not found, even though all the IDs were matching and all. Spent quite a lot of time figuring out that the reason was that deletionProtection changed from
false
totrue
. Here's output of cdk diffExpected Behavior
The DB Cluster is updated to the new deletionProtection. Or at least the error explicitly says that the new settings can't be applied.
Current Behavior
Cryptic "DBCluster not found" error when doing
cdk deploy
Reproduction Steps
deletionProtection: true
. Example:The text was updated successfully, but these errors were encountered: