Skip to content

v0.1.0

Compare
Choose a tag to compare
@ericmatte ericmatte released this 20 Nov 14:36
· 4 commits to main since this release

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.zip and must be committed.
  • While terraform init with the "terraform_aws_lambda" module, the code of the repo will be downloaded into your terraform project.
  • terraform apply will upload the lambda using the lambda.zip downloaded 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.