Skip to content

rds: default.aurora-postgresql10 does not exist anymore #29184

@pahud

Description

@pahud

Describe the bug

parameterGroup: rds.ParameterGroup.fromParameterGroupName(this, 'ParameterGroup', 'default.aurora-postgresql10'),

default.aurora-postgresql10 does not exist anymore and should be replaced with available version.

Expected Behavior

working sample in the README

Current Behavior

the sample in the README does not deploy as default.aurora-postgresql10 is not available

3:12:56 PM | CREATE_FAILED | AWS::RDS::DBCluster | ClusterEB0386A7
Resource handler returned message: "DBClusterParameterGroup not found: default.aurora-postgresql10 (Service: Rds, Status Code: 404, Request ID: 68467519-0
a17-4994-ad65-f89eae9737b3)" (RequestToken: 71f14909-79e9-3fef-b267-78da4aa684f6, HandlerErrorCode: NotFound)

Reproduction Steps

    const cluster = new rds.ServerlessCluster(this, 'Cluster', {
      engine: rds.DatabaseClusterEngine.AURORA_POSTGRESQL,
      parameterGroup: rds.ParameterGroup.fromParameterGroupName(this, 'ParameterGroup', 'default.aurora-postgresql10'),
      vpc: getDefaultVpc(this),
    });

Possible Solution

replace with other version

Additional Information/Context

% aws rds describe-db-parameter-groups --query 'DBParameterGroups[*].DBParameterGroupName'
[
    "default.aurora-mysql5.7",
    "default.aurora-mysql8.0",
    "default.aurora-postgresql11",
    "default.aurora-postgresql14",
    "default.aurora-postgresql15",
    "default.neptune1",
    "default.neptune1.2",
    "default.oracle-se2-19",
    "default.postgres11",
    "default.postgres14"
]

CDK CLI Version

2.126.0

Framework Version

No response

Node.js Version

v18.16.0

OS

mac

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.effort/mediumMedium work item – several days of effortp2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions