Skip to content
A proxy server that intercepts aws calls and forward them to the corresponding localstack endpoints.
Go Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
Dockerfile
README.md
backend.go
backend_test.go
main.go
request_forwarder.go
request_forwarder_test.go
services.go
services.yml
services_test.go

README.md

Build Status Go Report Card Coverage Status

Localstack single endpoint

A simple proxy that tends to understand and analyze aws requests according to aws docs to detremine which service is being invoked and forward the request to the corresponding Localstack endpoint.

How to use?

Docker

  • Run the docker container docker run -p 9000:9000 -e "LOCALSTACK_HOST=172.17.0.2" mhmoudgmal/localstack-single-endpoint Then you can access localstack using a single endpoint port (9000).

For example invoking a lambda will be the same as for listing the tables in a dynamodb:

  • aws lambda invoke --endpoint-url http://localhost:9000 --function function-name --payload '{}'
  • aws dynamodb list-tables --endpoint-url http://localhost:9000
You can’t perform that action at this time.