From 55e463022297923c797d9c9a05a777ac9e776338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 21 Oct 2019 18:37:35 +0200 Subject: [PATCH] upgrade Lambda function NodeJS: 8.10 > 10.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NodeJS 8.10 is approaching End-of-life and AWS Lambda will stop supporting it at the end of 2019. Signed-off-by: Jakub SokoĊ‚owski --- mail.tf | 68 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git a/mail.tf b/mail.tf index c776fd8..e0d4626 100644 --- a/mail.tf +++ b/mail.tf @@ -65,10 +65,10 @@ EOF } resource "aws_iam_role_policy" "ses_lambda_policy" { -name = "LambdaSesForwarderPolicy" -role = aws_iam_role.ses_lambda_role.id + name = "LambdaSesForwarderPolicy" + role = aws_iam_role.ses_lambda_role.id -policy = <