Skip to content

santaz1995/sqs-localstack-lambda

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Localstack SQS trigger Lambda function working example.

Install

Assuming you have awslocal installed in init.sh.

docker-compose up

Wait for localstack to be ready.

bash ./init.sh

Confirm invoking the function works

awslocal lambda invoke --function-name SQSTest outfile.txt

SQS Should trigger the function aswell

awslocal sqs send-message --message-body="{}" --queue-url "http://localhost:4576/queue/test_queue"

Confirming the queue got the message

awslocal sqs receive-message --queue-url "http://localhost:4576/queue/test_queue"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 61.0%
  • Shell 39.0%