-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
(ServerlessCluster): cdk deploy failure with custom subnetgroup reference #13976
Labels
@aws-cdk/aws-rds
Related to Amazon Relational Database
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Comments
quixoticmonk
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Apr 4, 2021
Thanks for reporting @quixoticmonk. Confirming I was able to reproduce the problem. |
skinny85
added
effort/small
Small work item – less than a day of effort
p1
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Apr 5, 2021
skinny85
added a commit
to skinny85/aws-cdk
that referenced
this issue
Apr 5, 2021
As it turns out, RDS stores the name of the SubnetGroup in lowercase on the server-side. The problem is that we weren't changing the case in CloudFormation, and thus expressions like `{ Ref: SubnetGroup }` were using the wrong casing, resulting in the RDS service failing with a 404 error when providing a name for the SubnetGroup. Fixes aws#13976
mergify bot
pushed a commit
that referenced
this issue
Apr 9, 2021
As it turns out, RDS stores the name of the SubnetGroup in lowercase on the server-side. The problem is that we weren't changing the case in CloudFormation, and thus expressions like `{ Ref: SubnetGroup }` were using the wrong casing, resulting in the RDS service failing with a 404 error when providing a name for the SubnetGroup. Fixes #13976 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
hollanddd
pushed a commit
to hollanddd/aws-cdk
that referenced
this issue
Aug 26, 2021
As it turns out, RDS stores the name of the SubnetGroup in lowercase on the server-side. The problem is that we weren't changing the case in CloudFormation, and thus expressions like `{ Ref: SubnetGroup }` were using the wrong casing, resulting in the RDS service failing with a 404 error when providing a name for the SubnetGroup. Fixes aws#13976 ---- *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
@aws-cdk/aws-rds
Related to Amazon Relational Database
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p1
Description of the bug:
CDK deploy fails for an aurora serverless cluster when the subnetgroup name provided by user is uppercase. I had the resources in the cluster ( security group, subnetgroup etc) created with the names including the clustername as well; which was provided using a context value in cdk.json.
Reproduction Steps
Note:
What did you expect to happen?
Since the reference was to the id of the subnetgroup, I would expect the cdk deploy to work and deploy the cluster
What actually happened?
Error message as in screenshot below
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: