v0.1.0
Initial release.
This release is a template example on how to upload a TypeScript AWS lambda function with Terraform.
How
- The compiled code is pushed into
terraform/lambda.zipand must be committed. - While
terraform initwith the"terraform_aws_lambda"module, the code of the repo will be downloaded into your terraform project. terraform applywill upload the lambda using thelambda.zipdownloaded from the repo.
Note: While this works well for small lambda projects, it is now recommended for larger one; as the file size of the terraform/lambda.zip can reduce slow down your terraform init/apply commands.