Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

eta-aws-lambda example

This project is a sample of how to build an Eta application that can be run on AWS Lambda.

Getting Etlas

In order to build this project you will need to get etlas installed by following the instructions here.

Once you have etlas installed run the following to initialize the configuration and package repositories.

$ etlas update

Building

In order to build the project so that it can be run as a Lambda you will need to enable "uberjar" mode for etlas. This will ensure that all required dependencies for the application are linked into the jar file.

etlas clean
etlas configure --enable-uberjar-mode

Then in order to build the jar run:

$ etlas build

Create a Lambda Function

Upload the resulting jar file that is placed in ./dist/build/eta-aws-lambda/eta-aws-lambda.jar as a lambda, and for the handler function reference use com.example.LambdaTest::handler.

That's all!

About

An example of running an Eta program as an AWS Lambda function

Resources

License

Releases

No releases published

Packages

No packages published