Why does Database Cluster require a VPC when configured to use the Data API #30616
Unanswered
raymondKelly
asked this question in
Q&A
Replies: 2 comments
-
I have the same issue, seems to occur regardless of whether dataApi is enabled. Are we unable to use the default VPC? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have this error as well. This is weird, because the error message makes no sense: "Provide either vpc or instanceProps.vpc, but not both". I didn't provide "both", I provided none of them (wanting to use the default vpc). Anyone could solve this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When using the Database Cluster
Why is a VPC required in CDK when using the RDS Data API?
The documentation also declares that the VPC is optional https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rds-readme.html#default-vpc
but If I create a database cluster without a VPC such as the Data API example mentions https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_rds-readme.html#data-api
then I get the following error
Beta Was this translation helpful? Give feedback.
All reactions