A simple Hello World serverless application.
- Record Decisions
- Compute
- Runtime
- Serverless Framework
- Test Framework
- Access Control
- Secrets
- Deployment
Test
Use the following script to run the unit tests.
$ ./test
Deploy
Use the following script to deploy the application to AWS. This will perform the following steps:
- Create the build artifact for the source code using
chalice package
- Create a plan for the deployment using
terraform plan
- Ask if you want to continue with the deployment
- Perform the deployment using
terraform apply
$ ./deploy
Destroy
Use the following script to teardown the application (i.e. delete all the infrastructure resources from AWS)
$ ./destroy