Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-w-arnold/aws-lambda-examples
AWS Lambda function source code, and test harness.
https://github.com/d-w-arnold/aws-lambda-examples
aws-lambda boto3 lambda-functions python3 testing
Last synced: 9 days ago
JSON representation
AWS Lambda function source code, and test harness.
- Host: GitHub
- URL: https://github.com/d-w-arnold/aws-lambda-examples
- Owner: d-w-arnold
- License: gpl-3.0
- Created: 2024-11-06T15:47:42.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-20T12:20:22.000Z (about 1 month ago)
- Last Synced: 2024-11-20T13:26:18.262Z (about 1 month ago)
- Topics: aws-lambda, boto3, lambda-functions, python3, testing
- Language: Python
- Homepage: https://github.com/d-w-arnold/aws-cdk-examples
- Size: 38.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aws-lambda-examples
What is [AWS Lambda](https://aws.amazon.com/lambda/)?
This repo is a submodule of: [aws-cdk-examples](https://github.com/d-w-arnold/aws-cdk-examples)
### Add Git Hooks
See `pre-push` shell script in `hooks/`.
When pushing to the `main` branch, a push is successful unless Black formatter returns a non-zero exit code, in which it
will show the diff regarding what Black would change.To utilise this pre-push git hook, run the following commands in the project root directory:
(Submodule repo)
```bash
# Copy all repo git hooks.
cp -av hooks/* ../.git/modules/aws-lambda/hooks# Set all git hooks to executable, if not already set.
chmod +x ../.git/modules/aws-lambda/hooks/*
```(Stand-alone repo)
```bash
# Copy all repo git hooks.
cp -av hooks/* .git/hooks# Set all git hooks to executable, if not already set.
chmod +x .git/hooks/*
```