Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1006 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 1006 Bytes

PoC of Quarkus with AWS Lambdas configured through Terraform

Requirements

  1. An AWS CLI already configure in your machine
  2. Terraform installed
  3. JDK 11+ & Maven 3+
  4. Curl/Postman

How to try it?

Just execute:

  • cd terraform && terraform init && cd .. (First time only)
  • sh build_and_deploy.sh

DONE. Now you can try your lambda just executing the last line of the terraform output, it should be something like this: curl -H 'Content-Type: application/json' -X POST -d '{"name": "Josemy", "greeting":"Hello"}' https://[ACCOUNT_ID].execute-api.[REGION].amazonaws.com/beta/helloworld

Disclaimer

Please note: I'm not responsible for any costs incurred within your AWS account :-)

Same code that the one in plain java. I will try a benchmark against that repo.