AWS Copilot for LocalStack
This is a fork of the AWS Copilot CLI for use with LocalStack.
Details
This repo provides copilotlocal
, a command-line interface (CLI) with the same features as the original copilot
CLI, but using the local API endpoints provided by LocalStack. The patch applied in this repo essentially redirects any AWS API calls to the local endpoints under http://localhost:4566
.
Configurations
You can configure the following environment variables:
LOCALSTACK_HOSTNAME
: Target hostname under which LocalStack endpoints are available (default:localhost
)EDGE_PORT
: Target port under which LocalStack endpoints are available (default:4566
)LOCALSTACK_DISABLE
: Optional flag to disable the local endpoints and use the default behavior ofcopilot
(set to1
ortrue
to enable)
Downloading Releases
We provide pre-built binaries for MacOS/Linux/Windows:
- MacOS: https://github.com/localstack/copilot-cli/raw/localstack-builds/build/macos-darwin/copilotlocal
- Linux:
- Windows: https://github.com/localstack/copilot-cli/raw/localstack-builds/build/windows/copilotlocal.exe
License
This library is licensed under the Apache 2.0 License.