Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 458 Bytes

File metadata and controls

36 lines (26 loc) · 458 Bytes

Local

Run the lambda function locally

cd lambda_functions/request_handler
cargo lambda watch

and in another terminal, invoke it

cargo lambda invoke --data-example apigw2-http --output-format json

Deploy

First, build and package both lambda functions

just build

Then, deploy the lambda function to AWS

cd terraform/environments/dev
terraform init
terraform plan
terraform apply

Test

just test