Skip to content

zhangjing6-fall2020/serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serverless

This repository is used to log sns events in cloud watch. It's running on aws lambda.

Secret:

  • 'cicd_lambda' user credentials in dev or prod
  • bucketname to store serverless application

Reference: https://docs.aws.amazon.com/lambda/latest/dg/golang-logging.html

Instructions:

  1. Prerequisites for building and deploying your application locally

    • Install Golang
    • Place the codebase in GOPATH/src/
    • Install the dependencies listed in go.mod(optional)
  2. Build and Deploy instructions for web application

    • Build: go build
    • Build for ubuntu: env GOOS=linux GOARCH=amd64 go build
    • Test: go test ./...
    • Run: go run main.go

About

Lambda Function to send emails to users

Topics

Resources

Stars

Watchers

Forks

Languages