https://github.com/brcolow/lambda-parent
Maven parent project to be used for AWS Lambda function handlers.
https://github.com/brcolow/lambda-parent
aws-lambda java
Last synced: 2 months ago
JSON representation
Maven parent project to be used for AWS Lambda function handlers.
- Host: GitHub
- URL: https://github.com/brcolow/lambda-parent
- Owner: brcolow
- Created: 2020-08-05T17:27:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-07T19:10:58.000Z (over 4 years ago)
- Last Synced: 2024-12-26T16:30:56.950Z (4 months ago)
- Topics: aws-lambda, java
- Language: Groovy
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lambda-parent
## Usage
The intended usage of this module is as a Maven parent for any AWS Lambda function handlers. To use it simply add
the following to your Lambda function handler `pom.xml`:```xml
com.brcolow
lambda-parent
0.0.1-SNAPSHOT
../lambda-parent```
Note: You may need to adjust the relative path to suit your setup, the curent one is intended to work with a monorepo
setup where all projects share the same root directory (the monorepo root directory).## What It Does
Once this module as added as a parent then deploying the Lambda function handler to AWS is as easy as running `mvn deploy`.
## How It Works
We use `gmaven-plus-plugin` to run the `DeployLambda.groovy` script - it's that simple.
## Note
This is not intended for public consumption as is because it makes a bunch of assumptions that only work for my
particular needs but could be easily adapted/extended.