This .NET Core global tool provides the awslocal
command, which is a thin wrapper around the aws
command line interface for use with LocalStack. This tool is a .NET Core port of the
LocalStack AWS CLI for the people who have experienced issues with LocalStack AWS CLI.
Build server | Platform | Build status |
---|---|---|
Azure Pipelines | Ubuntu | |
Azure Pipelines | macOs | |
Azure Pipelines | Windows |
You can install the awslocal
command via .NET Core CLI
:
dotnet tool install --global LocalStack.AwsLocal
Stable | Nightly |
---|---|
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:4566 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). Defaults tolocalhost
.USE_SSL
: Whether to usehttps
endpoint URLs (required if LocalStack has been started withUSE_SSL=true
enabled). Defaults tofalse
.USE_LEGACY_PORTS
: Whether to use old endpoint ports. Starting with LocalStack releases afterv0.11.5
, all services are now exposed via the edge service (port 4566) only! If you are using a version of LocalStack lower than v0.11.5, you should setUSE_LEGACY_PORTS
totrue
. Defaults tofalse
.EDGE_PORT
: Set the edge port. Edge port can be set to any available port (see LocalStack configuration section). If you have made such a change in LocalStack's configuration, be sure to set the same port value toEDGE_PORT
. Defaults to4566
.DEFAULT_REGION
: Set the default region. OverridesAWS_DEFAULT_REGION
environment variable.
- Support for new endpoints in the official Localstack Python Client v1.2.2 have been added.
- EFS, Backup, LakeFormation, WAF, WAF V2 and QLDB Session
- Add .NET 5.0 support
- Default port set to 4566
- DEFAULT_REGION support
- Add .NET Core 2.1 support
- Fix "Quotation Marks with Strings" issues when passing JSON as argument See details : https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html
Licensed under MIT, see LICENSE for the full text.