Skip to content

A simple AWS lambda function written in golang to notify a slack incoming webhook from an SNS topic

Notifications You must be signed in to change notification settings

mattchilds1/golang-aws-lambda-slacknotifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golang-aws-lambda-slacknotifier

A simple AWS lambda function written in golang to notify a slack incoming webhook from an SNS topic. Intentially split out from the terraform module, so that multiple pipelines can utilise the same lambda function.


Usage

Required environment variables:

WEBHOOK_URL=https://hooks.slack.com/services/AAAAAAAAA/BBBBBBBBB/CCCCCCCCCCCCCCCCCCCCCCC
REGION=eu-west-1

Build to run in Lambda (Amazon Linux)

GOARCH=amd64 GOOS=linux go build

Zip the binary created from the build process and upload to lambda //TO-DO: Add automated lambda infrastructure build / deploy to this repo

Related Projects

Check out these related projects.

Help

Got a question?

File a GitHub issue.

Contributing

Bug Reports & Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

License

License

See LICENSE for full details.

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

Contributors

Matt Childs
Matt Childs

About

A simple AWS lambda function written in golang to notify a slack incoming webhook from an SNS topic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published