aws-rds: support zero instances in DatabaseCluster #26724
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.
p3
Describe the feature
Both "old style" with
instances: number
and "new style" withwriter:
andreaders:
require that you end up with at least one instance in your cluster. Aurora doesn't actually require this, and further is actually a recommended approach to retaining data without spending money running instances. Per https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_DeleteCluster.html#USER_DeleteInstance.Empty:CDK should accommodate this.
Use Case
Retaining Aurora data without running any instances, per https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_DeleteCluster.html#USER_DeleteInstance.Empty
Proposed Solution
Adjust the props to accommodate this.
Other Information
Workaround:
Acknowledgements
CDK version used
2.83.0
Environment details (OS name and version, etc.)
n/a
The text was updated successfully, but these errors were encountered: