Description
When I instantiate libcloud via get_driver(Provider.EC2_AP_SOUTHEAST), I'm returned a libcloud.compute.drivers.ec2.EC2APSENodeDriver object. Since the refactor to remove "datacenter", EC2NodeDriver._init_() sets my region back to "us-east-1".
Previously this code worked:
driver = get_driver(Provider.EC2_AP_SOUTHEAST)
connection = driver(key, secret)
Now I need:
driver = get_driver(Provider.EC2_AP_SOUTHEAST)
connection = driver(key, secret, datacenter="ap-southeast-1")
Reference:
https://github.com/apache/libcloud/commit/923704a204939eb50d547ad1bc9edc7a1108f158