Skip to content

Cross region rdsClient connection timing out #2142

Answered by RanVaknin
dandrew-stripe asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dandrew-stripe ,

You can set WithRegion to the region you want to route your request to:

cfg, err := config.LoadDefaultConfig(context.Background(), config.WithRegion("us-west-2"))

However I'm not sure if what you are asking is possible. If the RDS resource only exists in ap-south-1 than you might hit a ResourceNotFoundException or something in that vein.

Both of these calls fail with a timeout.

What kind of timeout? What is the error that is thrown?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by RanVaknin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
2 participants