-
Notifications
You must be signed in to change notification settings - Fork 4k
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
fix(rds): prevent rendering deprecated credentials when creating a database cluster from a snapshot (under feature flag) #27174
Conversation
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
…nd feature flag Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Signed-off-by: Francis <colifran@amazon.com>
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Signed-off-by: Francis <colifran@amazon.com>
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
This PR fixes a bug where an extra database secret is being generated when an RDS database cluster is being created from a snapshot.
On the
DatabaseClusterFromSnapshotProps
interface, we deprecated thecredentials
property and, at the same, introducedsnapshotCredentials
as the recommended replacement. However, the default behavior associated with thecredentials
property was not removed as doing so would introduce a breaking change for some users as detailed in this PR. As a result, users just using the recommendedsnapshotCredentials
property to create a new RDS database cluster are seeing an extra, unwanted secret being created.Closes #23815
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license