- AWS CLI installed and configured
- AWS SAM installed
- Docker installed
- AWS CLI Installation Guide: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
- AWS CLI Configuration:
- Run
aws configurecommand and set required values
- Run
- AWS SAM Installation Guide: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/install-sam-cli.html
git clone <repository-url>
cd <repository-directory>After you have to put your env variable to file template.yaml line 29
sam build # will build image for you
sam local invoke # will execute the function
sam deploy --guided # will help you to deploy your function