Skip to content

Commit

Permalink
Upgrade nodeJs runtime to 18.x and aws provider to 5.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SSKale1 authored Feb 22, 2024
1 parent de8c1b3 commit 08671e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/module-1/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 3.27"
version = "~> 5.24.0"
}
}
}
Expand All @@ -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]
}
Expand Down

0 comments on commit 08671e1

Please sign in to comment.