Lambda@Edge
New Features
This module now supports creating Lambda@Edge ready versions of your Node.js or Python functions. Required trust relationship and publishing of function versions will be configured automatically (see AWS docs for details).
Example:
provider "aws" {
region = "eu-west-1"
}
module "lambda" {
source = "moritzzimmer/lambda/aws"
description = "Example usage for an AWS Lambda without an event trigger."
filename = module.source.output_path
function_name = "example-without-event"
handler = "handler"
lambda_at_edge = true
runtime = "nodejs12.x"
source_code_hash = module.source.output_base64sha256
}
What's Changed
- added support for Lambda@Edge by @moritzzimmer in #27
Full Changelog: v5.9.1...v5.10.0