Skip to content

aws-cdk-lib.aws_rds.DatabaseClusterProps: Deprecation Warnings #25898

@argarinpauljohn

Description

@argarinpauljohn

Describe the feature

use writer and readers instead
This API will be removed in the next major release.
[WARNING] aws-cdk-lib.aws_rds.DatabaseClusterProps#instances is deprecated.

use writer and readers instead
This API will be removed in the next major release.

So we fixed this by using writer and readers instead. But CDK will destroy the old database instances then recreate them. This isn't good for us as restoring the data in the new databases will require us more time and work. Would it be possible for the CDK team to handle the migration?

Use Case

It will be cumbersome backing up the data and restoring them especially in our production databases.

Proposed Solution

Handle the migration of data in the background?

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CDK version used

2.82.0

Environment details (OS name and version, etc.)

macOS Ventura 13.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    aws-cdk-libRelated to the aws-cdk-lib packagefeature-requestA feature should be added or improved.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions