This package provides the awslocal
command, which is a thin wrapper around the aws
command line interface for use with LocalStack.
You can install the awslocal
command via pip
:
pip install awscli-local
The awslocal
command has the same usage as the aws
command. For detailed usage,
please refer to the man pages of aws help
.
Instead of the following command ...
aws --endpoint-url=http://localhost:4568 kinesis list-streams
... you can simply use this:
awslocal kinesis list-streams
You can use the following environment variables for configuration:
LOCALSTACK_HOST
: Set the hostname for the localstack instance. Useful when you have localstack is bound to another interface (i.e. docker-machine).USE_SSL
: Whether to usehttps
endpoint URLs (required if LocalStack has been started withUSE_SSL=true
enabled). Defaults tofalse
.
- v0.4: Minor fix for Python 3 compatibility
- v0.3: Add support for additional service endpoints
- v0.2: Enable SSL connections; refactor code
- v0.1: Initial release
This software library is released under the Apache License, Version 2.0 (see LICENSE
).