This is a fork of the AWS Copilot CLI for use with LocalStack.
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.
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 to1ortrueto enable)
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
This library is licensed under the Apache 2.0 License.