Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 764 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 764 Bytes

AWS SNS - Lambda Slack integration written in Go

Using (just recently) released official support for Go in lambda. Inspired by terranova's article.

Install

  • start with dep ensure

Follow steps in aws manual:

  1. GOOS=linux go build -o main
  2. zip deployment.zip main
  • upload this file in lambda function setup
  • make sure you specify ENV variable WEBHOOK_URL with appropriate slack webhook URL
  • configure lambda trigger as SNS

My usecase

AWS Healhcheck integration with slack, where Healthcheck sends notifications to the SNS which triggers the lambda.