Skip to content

Releases: agendrix/terraform-aws-lambda

v0.2.0

20 Nov 15:43
Compare
Choose a tag to compare

This release changes the way the lambda is managed/released.

Changes

  • The terraform module now uploads a dummy function when creating the AWS lambda
  • The code build is uploaded directly to AWS Lambda by GitHub Actions upon new repository releases
  • The release workflow can do some integration tests after updating the lambda function

v0.1.0

20 Nov 14:36
Compare
Choose a tag to compare

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.