GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jaypan13/copilot-cli-local: Fork of the AWS Copilot CLI (https://github.com/aws/copilot-cli) for use with LocalStack (https://localstack.cloud).

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

3,355 Commits
3,355 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.release
.release
 
 
cf-custom-resources
cf-custom-resources
 
 
cmd/copilot
cmd/copilot
 
 
e2e
e2e
 
 
internal/pkg
internal/pkg
 
 
regression
regression
 
 
scripts
scripts
 
 
site
site
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.golangci.yml
.golangci.yml
 
 
.mergify.yml
.mergify.yml
 
 
CHARTER.md
CHARTER.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
Dockerfile.site
Dockerfile.site
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
STYLE_GUIDE.md
STYLE_GUIDE.md
 
 
THIRD-PARTY-LICENSES
THIRD-PARTY-LICENSES
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
mkdocs.yml
mkdocs.yml
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

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 of copilot (set to 1 or true to enable)

Downloading Releases

We provide pre-built binaries for MacOS/Linux/Windows. Please refer to the releases page to download the right binary for your operating system and CPU architecture.

Creating a new release

The mainline branch should be up-to-date with upstream mainline, and the changes in the fork are stored on the localstack branch. Note that there is also a master branch, but that one is a bit behind, so we use mainline to leverage the latest changes. As a first step, we need to pull changes from upstream mainline, then rebase localstack onto mainline (this may require resolving some conflicts).

Then, install the npm dependencies in the cf-custom-resources folder:

cd cf-custom-resources; npm install

Then we can build the binaries by compiling the Go program for different operating systems / CPU architectures:

make release

Next, we look up the latest tag in the upstream repo (e.g., v1.24.0), and then create a tag with the same name on the localstack branch on our fork. Assuming the remote is named localstack, it can then be pushed to our fork via:

# delete any existing tag with that version number
git tag -d v1.24.0
# create a new tag against the HEAD of `localstack` branch
git tag v1.24.0
# push the branch to the fork repo
git push localstack v1.24.0

Next, we create a new release in the Github repo using the version tag we just created (e.g., v1.24.0). Make sure to upload the binary files generated in bin/local/... as part of the release assets.

License

This library is licensed under the Apache 2.0 License.

About

Fork of the AWS Copilot CLI (https://github.com/aws/copilot-cli) for use with LocalStack (https://localstack.cloud).

aws.github.io/copilot-cli/

Resources

Readme
License

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.