Skip to content

Sample AWS Lambda function triggered by SNS topic (Serverless framework)

Notifications You must be signed in to change notification settings

avoidik/sample_lambda_sns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Lambda in Go

What's inside

  • Sample AWS Lambda function written in Golang with DynamoDB as a storage backend
  • AWS SNS Topic used as a trigger
  • Dependencies management with Dep
  • Serverless framework for infrastructure deployment
  • Operations with Makefile

Dependencies

  1. serverless framework
  2. AWS SAM
  3. docker & docker-machine for AWS SAM

Workflow

  1. make
  2. make run
  3. make deploy
  4. test.sh
  5. make undeploy

Windows notes

Additional dependency

go.exe get -u github.com/aws/aws-lambda-go/cmd/build-lambda-zip

Issue with AWS SAM and path detection in python

https://github.com/awslabs/aws-sam-cli/issues/461#issuecomment-403231130

About

Sample AWS Lambda function triggered by SNS topic (Serverless framework)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published