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

Typescript rds deployments are failing with invalid subnet error #824

Closed
bhargaje opened this issue Apr 5, 2023 · 1 comment
Closed
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@bhargaje
Copy link
Contributor

bhargaje commented Apr 5, 2023

Describe the bug

When trying to deploy CDK typescript RDS examples (across all engines) getting the below error.

UPDATE_FAILED | AWS::RDS::DBSubnetGroup | AuroraDatabase/Subnets/Default
Resource handler returned message: "Some input subnets in :[subnetxxx, subnetxxx] are invalid. (Se
rvice: Rds, Status Code: 400, Request ID: 99f2b86e-34a7-41fe-a39e-55f14b9febf2)" (RequestToken: c12721ba-78e8-21f9-aa5d-4e4bd8
1ac9be, HandlerErrorCode: InvalidRequest)

Expected Behavior

Ideal expectation is Stack should gets deployed when the region and subnet's are updated.

Current Behavior

Stack failing with above error.

Reproduction Steps

Post updating the construct parameters with your account VPC and subnet informations
Run npm build
Run cdk deploy from any subdirectory under - aws-cdk-examples/typescript/rds

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.69.0

Framework Version

No response

Node.js Version

v16.19.1

OS

Amazon Linux 2

Language

Typescript

Language Version

No response

@bhargaje bhargaje added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Apr 5, 2023
@kaiz-io kaiz-io closed this as completed Oct 24, 2023
@github-actions
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.

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. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants