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.
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.
To deploy the app, simply run the following commands:
terraform init
mvn package && terraform apply
To destroy the app
terraform destroy