erbalo / aws-lambda-connector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-lambda-connector

coverage version

The idea was born with the intention of not using AWS sam or docker to be able to execute a lambda made in Golang locally and invoke it, which allows a more agile and efficient development.

Architecture

architecture

Installation

Using go

You need to install the connector in your home

go install github.com/erbalo/aws-lambda-connector@latest

Note: To use the connector in your system, maybe you should add the environment variable where the GOPATH is located.

Example of how to update the path using Unix

export PATH=$PATH:$(go env GOPATH)/bin

Cloning the repo

You can clone the repo and build the project.

Step 1. Clone the repo

git clone https://github.com/erbalo/aws-lambda-connector.git

Step 2. Move on the folder

cd aws-lambda-connector

Step 3. Create the binary

make all

The last command will create a bin folder; you can detect the binary to execute according to your OS.

Then you can execute the binary according to your OS.

Linux/MacOS example:

./bin/aws-lambda-connector --help

Usage

To use the connector you can execute the following commands:

usage

About


Languages

Language:Go 91.2%Language:Makefile 8.8%