aws_rds: add support for RotateImmediatelyOnUpdate to secret rotation #26099
Labels
@aws-cdk/aws-rds
Related to Amazon Relational Database
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
in-progress
This issue is being actively worked on.
p1
Describe the feature
Reopening #25365 because the feature request was not actually completed.
In CloudFormation, AWS::SecretsManager::RotationSchedule contains an optional property RotateImmediatelyOnUpdate, which controls whether the secret gets rotated as part of the stack update.
As of #25652, this property can also be set during creation of
aws_secretsmanager.RotationSchedule
, but this alone is not sufficient, because there is no way to set this property viaaws_rds.DatabaseCluster.add_rotation_single_user
.Add an optional parameter to
add_rotation_single_user
to control this property. Probably should be added toadd_rotation_multi_user
as well.cc @colifran @pahud
Use Case
We don't want the secret to rotate immediately.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.85.0
Environment details (OS name and version, etc.)
Alpine 3.18
The text was updated successfully, but these errors were encountered: