Skip to content

A lambda to kick off a AWS Fargate Task with a payload and retrieve it's response

Notifications You must be signed in to change notification settings

gryzinsky/farquest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 22, 2019
d482497 · Aug 22, 2019

History

46 Commits
Aug 20, 2019
Aug 20, 2019
Aug 22, 2019
Aug 21, 2019
Aug 20, 2019
Aug 22, 2019
Aug 15, 2019
Aug 21, 2019
Aug 15, 2019
Aug 20, 2019
Aug 21, 2019
Aug 20, 2019
Aug 21, 2019
Aug 21, 2019
Aug 21, 2019

Repository files navigation

Farquest

Commitizen friendly

Logo

A lambda to kick off AWS Fargate Tasks from an SQS Event Source, return their response and handle task lifecycle.

Running locally

  • Clone the repository

  • Install the depedencies running:

    npm i
  • Create your custom .env file following the example provided .env.example

  • Create your custom tests/event.json from tests/samples/event.json with your custom SQS message body

  • Execute the lambda with npm start, or alternativelly, by executing the container with a docker-compose run --service-ports --rm lambda

    If running through the container, remember to build the image first. Also, you could try nicely ask docker for container operations if you're into it.

Running in AWS Lambda

  • Configure your environment variables

  • Hit your lambda with a request

  • Profit

Contributors

Nikolas V. Serafini
Nikolas V. Serafini

💻🚇 📖 👀 🚧
Nikolas V. Serafini
Pedro Gryzinsky

💻🚇 📖 👀 🚧

This project follows the all-contributors specification.

About

A lambda to kick off a AWS Fargate Task with a payload and retrieve it's response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published