From c5b3ca1f0dcabf08b611db4d41a5688c9c2fe20c Mon Sep 17 00:00:00 2001 From: Iuri de Silvio Date: Thu, 10 Dec 2015 10:55:10 -0200 Subject: [PATCH] Add S3 sa-east-1 region. The apache-libcloud>=0.19 added this option. --- siilo/storages/amazon_s3.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/siilo/storages/amazon_s3.py b/siilo/storages/amazon_s3.py index dba9ece..8b2b6b2 100644 --- a/siilo/storages/amazon_s3.py +++ b/siilo/storages/amazon_s3.py @@ -72,6 +72,8 @@ class AmazonS3Storage(ApacheLibcloudStorage): +--------------------+-------------------------------+ | ``ap-northeast-1`` | Asia Pacific (Tokyo) | +--------------------+-------------------------------+ + | ``sa-east-1`` | South America (Sao Paulo) | + +--------------------+-------------------------------+ Defaults to ``us-east-1``. @@ -112,6 +114,7 @@ class AmazonS3Storage(ApacheLibcloudStorage): 'us-east-1': 'S3', 'us-west-1': 'S3_US_WEST', 'us-west-2': 'S3_US_WEST_OREGON', + 'sa-east-1': 'S3_SA_EAST', } def __init__(self, access_key_id, secret_access_key, bucket,