File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ pip install https://github.com/boto/botocore/archive/v2.zip https://github.com/a
9292
9393## Change Log
9494
95+ * v0.22.0: Use fallback for endpoint detection. Should prevent most cases of ` Unable to find LocalStack endpoint for service ... `
9596* v0.21.1: Introducing semantic versioning and list of services without endpoints
9697* v0.21: Use placeholder credentials and region only if Boto cannot not find them, fix output streaming for logs tail call
9798* v0.20: Small fixes for Python 2.x backward compatibility
Original file line number Diff line number Diff line change @@ -50,7 +50,9 @@ def get_service_endpoint(localstack_host=None):
5050 if service == 's3api' :
5151 service = 's3'
5252 endpoints = config .get_service_endpoints (localstack_host = localstack_host )
53- return endpoints .get (service )
53+ # defaulting to use the endpoint for STS (could also be one of the other services in the existing list)
54+ # otherwise newly-added services in LocalStack would always need to be added to the _service_ports dict in localstack_client
55+ return endpoints .get (service ) or endpoints .get ("sts" )
5456
5557
5658def usage ():
Original file line number Diff line number Diff line change 1616
1717 setup (
1818 name = 'awscli-local' ,
19- version = '0.21.1 ' ,
19+ version = '0.22.0 ' ,
2020 description = description ,
2121 long_description = README ,
2222 long_description_content_type = 'text/markdown' ,
You can’t perform that action at this time.
0 commit comments