From 1d8c4f5283288b55e8cd50b47d0e11226d055e1c Mon Sep 17 00:00:00 2001 From: Matthew Ahrenstein Date: Mon, 17 May 2021 12:04:33 -0400 Subject: [PATCH] Bumping Node.js version --- CHANGELOG.md | 5 +++++ headers-lambda.tf | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8509da5..18d56cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ Terraform Module - AWS Static Site: Changelog ===================================== A list of all the changes made to this repo, and the Terraform module it contains +Version 1.1.0 +------------- + +1. Changing the headers Lambda to Node.js 12.x + Version 1.0.1 ------------- diff --git a/headers-lambda.tf b/headers-lambda.tf index 70824ea..2cfa3bc 100644 --- a/headers-lambda.tf +++ b/headers-lambda.tf @@ -86,7 +86,7 @@ resource "aws_lambda_function" "static_site_security_headers" { role = aws_iam_role.static_site_lambda_at_edge.arn handler = "static-site-security-headers.handler" source_code_hash = data.archive_file.static_site_security_headers_zip.output_base64sha256 - runtime = "nodejs10.x" + runtime = "nodejs12.x" memory_size = 128 timeout = 3 publish = true