Aws lambda that implements JetMail java client to send mails
- MAILJET_APIKEY_PUBLIC
- MAILJET_APIKEY_PRIVATE
- PROJECT_CONTACT_MAIL
If you want to use infra-as-code, you have to set these variables in AWS Secrets Manager
terraform/main.tf allow to create aws lambda function with logging
Github CI allow to build and deploy lambda function into two environments "dev" and "prod"
To build the project run gradle buildZip
This task create a deployment package with the function's code and dependencies as Zip build type
task buildZip(type: Zip) {
from test
from compileJava
from processResources
into('lib') {
from configurations.runtimeClasspath
}
}
- AWS Lambda
- Terraform
- Github Actions
- JAVA 11 (limit due to aws support)
- JetMail