Skip to content

Lambda@Edge

Compare
Choose a tag to compare
@moritzzimmer moritzzimmer released this 23 Feb 14:19

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

Full Changelog: v5.9.1...v5.10.0