Releases: agendrix/terraform-aws-lambda
Releases · agendrix/terraform-aws-lambda
v0.2.0
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
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 thelambda.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.