Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

RDS Region address issue #274

Closed
ychsiao opened this Issue · 0 comments

2 participants

@ychsiao

http://aws.amazon.com/articles/3912#rds

diff --git a/boto/rds/__init__.py b/boto/rds/__init__.py
index 7a3682c..a54e6e9 100644
--- a/boto/rds/__init__.py
+++ b/boto/rds/__init__.py
@@ -38,15 +38,15 @@ def regions():
     :return: A list of :class:`boto.rds.regioninfo.RDSRegionInfo`
     """
     return [RDSRegionInfo(name='us-east-1',
-                          endpoint='rds.amazonaws.com'),
+                          endpoint='rds.us-east-1.amazonaws.com'),
             RDSRegionInfo(name='eu-west-1',
-                          endpoint='eu-west-1.rds.amazonaws.com'),
+                          endpoint='rds.eu-west-1.amazonaws.com'),
             RDSRegionInfo(name='us-west-1',
-                          endpoint='us-west-1.rds.amazonaws.com'),
+                          endpoint='rds.us-west-1.amazonaws.com'),
             RDSRegionInfo(name='ap-northeast-1',
-                          endpoint='ap-northeast-1.rds.amazonaws.com'),
+                          endpoint='rds.ap-northeast-1.amazonaws.com'),
             RDSRegionInfo(name='ap-southeast-1',
-                          endpoint='ap-southeast-1.rds.amazonaws.com')
+                          endpoint='rds.ap-southeast-1.amazonaws.com')
             ]

 def connect_to_region(region_name):
@garnaat garnaat closed this in 54a4651
@garnaat garnaat was assigned
@bclermont bclermont referenced this issue from a commit in bclermont/boto
@garnaat garnaat Fixed RDS region endpoints. Closes #274. 6e40554
@msabramo msabramo referenced this issue from a commit in msabramo/boto
@garnaat garnaat Fixed RDS region endpoints. Closes #274. 4ad198a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.