Region name vs Region endpoint #1444

lra opened this Issue Apr 15, 2013 · 0 comments


None yet

1 participant

lra commented Apr 15, 2013

I have trouble understanding the difference between region name and region endpoint.

If I use only one, it looks like I'm getting half-baked regions.

I have this ~/.boto

ec2_region_name = us-west-1

If I connect without specifying a region, I get a weird state:

import boto
conn = boto.connect_ec2()
print "Name: {}".format(
print "Endpoint: {}".format(conn.region.endpoint)


Name: us-west-1

The name is built using my config, but the endpoint is the default one.

Shouldn't the endpoint be built using the name if missing, or vice-versa if I specify the endpoint but not a name ?

Or is it supposed to be like this ?


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment