summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkyleknap <kyleknap@amazon.com>2016-12-14 12:44:53 -0800
committerkyleknap <kyleknap@amazon.com>2016-12-14 12:44:53 -0800
commit8130c3453ae427c9205cee386f51bd9c73e7b769 (patch)
treeacef9b887122d47759357db5a7e0312b1c6d117b
parente0111c53bb4061aed1e96d6f8d3c390c675118e4 (diff)
downloadboto-8130c3453ae427c9205cee386f51bd9c73e7b769.tar.gz
Add sigv4 only for eu-west-2
-rw-r--r--boto/auth.py4
-rw-r--r--tests/unit/auth/test_sigv4.py1
2 files changed, 4 insertions, 1 deletions
diff --git a/boto/auth.py b/boto/auth.py
index 660545ba..7cb7225e 100644
--- a/boto/auth.py
+++ b/boto/auth.py
@@ -65,7 +65,9 @@ SIGV4_DETECT = [
'.us-east-2',
'-us-east-2',
'-ca-central',
- '.ca-central'
+ '.ca-central',
+ '.eu-west-2',
+ '-eu-west-2',
]
diff --git a/tests/unit/auth/test_sigv4.py b/tests/unit/auth/test_sigv4.py
index 65392c58..4a9cce29 100644
--- a/tests/unit/auth/test_sigv4.py
+++ b/tests/unit/auth/test_sigv4.py
@@ -560,6 +560,7 @@ class TestS3SigV4OptIn(MockServiceWithConfigTestCase):
'.ap-northeast-2', '-ap-northeast-2',
'.ap-south-1', '-ap-south-1',
'.us-east-2', '-us-east-2',
+ '.eu-west-2', '-eu-west-2',
]
# Create a connection for a sample region in each of these groups