Skip to content

fix(rds): AuroraMysqlEngineVersion.of() infers wrong major version when not specified#37341

Open
syukawa-gh wants to merge 1 commit intoaws:mainfrom
syukawa-gh:fix/rds-aurora-mysql-major-version
Open

fix(rds): AuroraMysqlEngineVersion.of() infers wrong major version when not specified#37341
syukawa-gh wants to merge 1 commit intoaws:mainfrom
syukawa-gh:fix/rds-aurora-mysql-major-version

Conversation

@syukawa-gh
Copy link
Copy Markdown
Contributor

When calling AuroraMysqlEngineVersion.of() without the second parameter, the major version defaulted to '5.7' regardless of the full version string. This caused the wrong parameter group family to be used (e.g., aurora-mysql5.7 instead of aurora-mysql8.0).

Now infers '8.0' from full versions starting with '8.0'.

Closes #33321

…when not specified

When calling AuroraMysqlEngineVersion.of() without the second
parameter, the major version defaulted to '5.7' regardless of the
full version string. Now infers '8.0' from full versions starting
with '8.0'.

Closes aws#33321
@aws-cdk-automation aws-cdk-automation requested a review from a team March 24, 2026 06:09
@github-actions github-actions bot added effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2 beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK labels Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginning-contributor [Pilot] contributed between 0-2 PRs to the CDK effort/small Small work item – less than a day of effort feature-request A feature should be added or improved. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aws_rds.AuroraMysqlEngineVersion.of returns wrong major version

2 participants