avoidik / sample_lambda_sns

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)


Languages

Language:Go 54.9%Language:Makefile 27.7%Language:Shell 17.4%