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

https://github.com/julbme/aws-lambda-bootstrap-maven-plugin

This maven plugin enables to generate a bootstrap file for AWS Lambda custom runtime.
https://github.com/julbme/aws-lambda-bootstrap-maven-plugin

aws bootstrap lambda maven-plugin packaging

Last synced: 2 months ago
JSON representation

This maven plugin enables to generate a bootstrap file for AWS Lambda custom runtime.

Awesome Lists containing this project

README

          

[![Build](https://github.com/julbme/aws-lambda-bootstrap-maven-plugin/actions/workflows/maven-build.yml/badge.svg)](https://github.com/julbme/aws-lambda-bootstrap-maven-plugin/actions/workflows/maven-build.yml)
[![Lint Commit Messages](https://github.com/julbme/aws-lambda-bootstrap-maven-plugin/actions/workflows/commitlint.yml/badge.svg)](https://github.com/julbme/aws-lambda-bootstrap-maven-plugin/actions/workflows/commitlint.yml)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=julbme_aws-lambda-bootstrap-maven-plugin&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=julbme_aws-lambda-bootstrap-maven-plugin)
![Maven Central](https://img.shields.io/maven-central/v/me.julb/aws-lambda-bootstrap-maven-plugin)

# AWS Lambda Bootstrap Maven plugin

This Maven plugin provides a goal to generate a `bootstrap` file used for AWS Lambda custom runtimes.
By default, the goal is bound to the `prepare-package` phase.

## Usage

```xml


...

me.julb
aws-lambda-bootstrap-maven-plugin


generate-bootstrap-file

generate









...

```

The configuration above generates `target/aws-lambda/bootstrap` with `0755` posix permissions and the following content:

```bash
#!/bin/sh

cd $LAMBDA_TASK_ROOT

./#runtimeFileName# #runtimeOptions#
```

The file is then ready to be packaged with the runtime script in a zip using the [Maven Assembly plugin](https://maven.apache.org/plugins/maven-assembly-plugin/).

## Contributing

This project is totally open source and contributors are welcome.