mhmoudgmal / localstack-single-endpoint

A proxy server that intercepts aws calls and forward them to the corresponding localstack endpoints.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Go Report Card Coverage Status

DEPRECATED in favor of localstack/pull/2250

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

About

A proxy server that intercepts aws calls and forward them to the corresponding localstack endpoints.


Languages

Language:Go 91.9%Language:Dockerfile 5.3%Language:Makefile 2.7%