From 08671e1b05d4cf71aa8a6e8782fb5b8b9247d89e Mon Sep 17 00:00:00 2001 From: Shantanu Kale <65826354+SSKale1@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:01:57 +0530 Subject: [PATCH] Upgrade nodeJs runtime to 18.x and aws provider to 5.24.0 --- modules/module-1/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/module-1/main.tf b/modules/module-1/main.tf index f5e3adfe..104a55db 100644 --- a/modules/module-1/main.tf +++ b/modules/module-1/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { aws = { source = "hashicorp/aws" - version = "~> 3.27" + version = "~> 5.24.0" } } } @@ -24,7 +24,7 @@ resource "aws_lambda_function" "react_lambda_app" { filename = "resources/lambda/out/reactapp.zip" function_name = "blog-application" handler = "index.handler" - runtime = "nodejs14.x" + runtime = "nodejs18.x" role = aws_iam_role.blog_app_lambda.arn depends_on = [data.archive_file.lambda_zip, null_resource.file_replacement_lambda_react] }