We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 621d24c commit c02a445Copy full SHA for c02a445
lambda-sqs-terraform/main.tf
@@ -2,7 +2,7 @@ terraform {
2
required_providers {
3
aws = {
4
source = "hashicorp/aws"
5
- version = "~> 4.22"
+ version = "~> 5.0"
6
}
7
8
@@ -22,7 +22,7 @@ resource "aws_lambda_function" "lambda_function" {
22
source_code_hash = data.archive_file.lambda_zip_file.output_base64sha256
23
handler = "app.handler"
24
role = aws_iam_role.lambda_iam_role.arn
25
- runtime = "nodejs16.x"
+ runtime = "nodejs22.x"
26
environment {
27
variables = {
28
SQSqueueName = aws_sqs_queue.sqs_queue.url
0 commit comments