lambda-webhook | AWS Lambda function to receive GitHub webhooks | REST library
kandi X-RAY | lambda-webhook Summary
kandi X-RAY | lambda-webhook Summary
AWS Lambda function to receive GitHub webhooks from API gateway and relay them to an EC2 instance
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse command line arguments
- Deliver messages
lambda-webhook Key Features
lambda-webhook Examples and Code Snippets
Community Discussions
Trending Discussions on lambda-webhook
QUESTION
I have a Cloudformation template which implements a CI/CD process for Lambda functions (at bottom)
Essentially it -
- watches a Github repo
- pulls source code on new git tag creation
- starts a CodeBuild process which runs unit tests, zips source code (on test success) and pushes archive to S3
- enables CodeBuild notifications
- implements a CloudWatch EventRule to pattern match raw CodeBuild notifications, format and push them to SNS
- binds a Lambda function to SNS, which pushes the notifications to Slack via a webhook
This works fine with the default EventBridge EventBus, but the pattern matching seems to fail if I switch to a custom EventBus.
(see resources EventBus and EventRule in the stack; it's currently set up to use the custom EventBus, and fails / ignores new git tags; if you comment out the reference to property EventBusName in EventBus, it defaults to using the default EventBus and works)
Why would a custom EventBus behave differently to the default EventBus in this situation ?
...ANSWER
Answered 2021-May-01 at 12:03"Custom event buses serve a use case of receiving events from your custom applications and services. Unfortunately, it is not possible for AWS services to push events to a custom event bus." (AWS Support)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lambda-webhook
You can use lambda-webhook like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page