The Serverless Application Model Command Line Interface (SAM CLI) is an extension of the AWS CLI that adds functionality for building and testing Lambda applications. It uses Docker to run your functions in an Amazon Linux environment that matches Lambda. It can also emulate your application's build environment and API.
To use the SAM CLI, you need the following tools.
- SAM CLI - Install the SAM CLI
- Docker - Install Docker community edition
To init new project based on this template, run the following command:
sam init -l https://github.com/tpodg/quarkus-aws-sam-template
To build and deploy your application for the first time, run the following commands:
./gradlew build
sam deploy --guided