Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pahud opened this issue Feb 20, 2024 · 1 comment · Fixed by #29192
Closed

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

pahud opened this issue Feb 20, 2024 · 1 comment · Fixed by #29192
Assignees
Labels
bug This issue is a bug. effort/medium Medium work item – several days of effort p2

Comments

@pahud
Copy link
Contributor

pahud commented Feb 20, 2024

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

@pahud pahud added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Feb 20, 2024
@pahud pahud self-assigned this Feb 20, 2024
@mergify mergify bot closed this as completed in #29192 Feb 21, 2024
mergify bot pushed a commit that referenced this issue Feb 21, 2024
### Issue # (if applicable)

Closes #29184

### Reason for this change

As described in the issue, the example in the README can't be deployed.

### Description of changes

Bump from `default.aurora-postgresql10` to `default.aurora-postgresql11`

### Description of how you validated changes

No.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

GavinZZ pushed a commit that referenced this issue Feb 22, 2024
### Issue # (if applicable)

Closes #29184

### Reason for this change

As described in the issue, the example in the README can't be deployed.

### Description of changes

Bump from `default.aurora-postgresql10` to `default.aurora-postgresql11`

### Description of how you validated changes

No.

### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. effort/medium Medium work item – several days of effort p2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant