Skip to content

Commit aaed2e5

Browse files
authored
66_configure_list (#79)
1 parent f52aa9e commit aaed2e5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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.21.1: Introducing semantic versioning and list of services without endpoints
9596
* v0.21: Use placeholder credentials and region only if Boto cannot not find them, fix output streaming for logs tail call
9697
* v0.20: Small fixes for Python 2.x backward compatibility
9798
* v0.19: Patch botocore to skip adding `data-` host prefixes to endpoint URLs

bin/awslocal

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ if os.path.isdir(os.path.join(PARENT_FOLDER, '.venv')):
3333
# names of additional environment variables to pass to subprocess
3434
ENV_VARS_TO_PASS = ['PATH', 'PYTHONPATH', 'SYSTEMROOT', 'HOME', 'TERM', 'PAGER']
3535

36+
# service names without endpoints
37+
NO_ENDPOINT_SERVICES = ('help', 'configure')
38+
3639
from localstack_client import config # noqa: E402
3740

3841

@@ -117,7 +120,7 @@ def prepare_cmd_args():
117120
endpoint = get_service_endpoint(localstack_host=localstack_host)
118121
service = get_service()
119122

120-
if not endpoint and service and service != 'help':
123+
if not endpoint and service and service not in NO_ENDPOINT_SERVICES:
121124
msg = 'Unable to find LocalStack endpoint for service "%s"' % service
122125
print('ERROR: %s' % msg)
123126
return sys.exit(1)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name='awscli-local',
19-
version='0.21',
19+
version='0.21.1',
2020
description=description,
2121
long_description=README,
2222
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)