-
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
aws-cdk-lib/aws-rds/DatabaseCluster: DatabaseCluster.instanceEndpoints does not return writer endpoints #29279
Comments
According to this aws-cdk/packages/aws-cdk-lib/aws-rds/lib/cluster.ts Lines 718 to 733 in f3d74bb
Only reader endpoints are returned and writer's is missing. |
|
1 similar comment
|
Describe the bug
The DatabaseCluster.instanceEndpoints only returns the reader endpoints but not the writer endpoints, while DatabaseCluster.instanceIdentifiers returns identifiers for both.
Expected Behavior
According to the documentation I would expect both endpoints return the information for all instances:
i.e. DatabaseCluster.instanceEndpoints should return writer and reader endpoints.
Current Behavior
DatabaseCluster.instanceEndpoints only returns the reader endpoints but not the writer endpoints
Reproduction Steps
Possible Solution
the writer endpoint should be added to instanceEndpoints here:
aws-cdk/packages/aws-cdk-lib/aws-rds/lib/cluster.ts
Line 716 in f3d74bb
Additional Information/Context
No response
CDK CLI Version
2.130.0
Framework Version
No response
Node.js Version
v18.17.1
OS
Mac
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: