Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1023 Bytes

File metadata and controls

27 lines (19 loc) · 1023 Bytes

Powertools for AWS Lambda (Java) - Core Utilities Example with Terraform

This project demonstrates the Lambda for Powertools Java module deployed using Terraform. For general information on the deployed example itself, you can refer to the parent README. To install Terraform if you don't have it yet, you can follow the Install Terraform Guide.

Configuration

Terraform uses main.tf to define the application's AWS resources. This file defines the Lambda function to be deployed as well as API Gateway for it.

It is a Maven based project, so you can open this project with any Maven compatible Java IDE to build and run tests.

Deploy the sample application

To deploy the app, simply run the following commands:

terraform init
mvn package && terraform apply

Useful commands

To destroy the app

terraform destroy