summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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