Skip to content

(rds): Aurora Serverless V2 instances are re-created when switching from a common workaround to an official solution #25942

@moltar

Description

@moltar

Describe the bug

A feature release via #25437 (Serverless V2 support) breaks a common workaround for V2.

Workaround explained here: #20197 (comment)

Note that it has 21 likes, so likely there are many instances of this workaround in the wild.

However, when switching to the official solution from #25437, the instances change the ID and need to be recreated.

A question I raised in the PR is whether or not it is possible to retain the original IDs somehow. I don't see the need for them to change.

Example: #25437 (comment)

Expected Behavior

The instances not to be re-created.

Current Behavior

ID changes and the instance gets re-created.

Reproduction Steps

#25437 (comment)

Possible Solution

N/A

Additional Information/Context

#25437 (comment)

CDK CLI Version

latest

Framework Version

2

Node.js Version

16

OS

macOS

Language

Typescript

Language Version

TS 5

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-rdsRelated to Amazon Relational DatabasebugThis issue is a bug.effort/mediumMedium work item – several days of effortp1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions