An open API service indexing awesome lists of open source software.

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.

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.