- Setup terraform, AWS, etc.
- Copy
terraform/terraform.tfvars.example
toterraform/terraform.tfvars
, adjust as needed - Review
app.ts
(handler) andlambda.ts
(event loop)
# increment version number in VERSION
# build a zipfile...
make zipfile
# ... upload to S3 and deploy/update the lambda WITH NO CONFIRMATION
make terraform
If successful, terraform will output a curl
command to run to test the deployment. curl
output should include:
{"message":"Hello, World!"}
# remove all terraform AWS resources
make destroy