Skip to content

Commit b4e25be

Browse files
committed
fix: replace node12 with node20 runtimes in examples
1 parent f0102c8 commit b4e25be

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module "lambda_api" {
3131
app_name = "my-lambda-codedeploy-dev"
3232
zip_filename = "./src/lambda.zip"
3333
zip_handler = "index.handler"
34-
zip_runtime = "nodejs12.x"
34+
zip_runtime = "nodejs20.x"
3535
3636
hosted_zone = module.acs.route53_zone
3737
https_certificate_arn = module.acs.certificate.arn

examples/ci-0_13/ci.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module "lambda_api" {
1616
app_name = "my-lambda"
1717
zip_filename = "./lambda.zip"
1818
zip_handler = "index.handler"
19-
zip_runtime = "nodejs12.x"
19+
zip_runtime = "nodejs20.x"
2020
hosted_zone = module.acs.route53_zone
2121
https_certificate_arn = module.acs.certificate.arn
2222
vpc_id = module.acs.vpc.id

examples/ci-0_14/ci.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module "lambda_api" {
1616
app_name = "my-lambda"
1717
zip_filename = "./lambda.zip"
1818
zip_handler = "index.handler"
19-
zip_runtime = "nodejs12.x"
19+
zip_runtime = "nodejs20.x"
2020
hosted_zone = module.acs.route53_zone
2121
https_certificate_arn = module.acs.certificate.arn
2222
vpc_id = module.acs.vpc.id

examples/ci-1/ci.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module "lambda_api" {
2121
app_name = "my-lambda"
2222
zip_filename = "./lambda.zip"
2323
zip_handler = "index.handler"
24-
zip_runtime = "nodejs12.x"
24+
zip_runtime = "nodejs20.x"
2525
hosted_zone = module.acs.route53_zone
2626
https_certificate_arn = module.acs.certificate.arn
2727
vpc_id = module.acs.vpc.id

examples/no-codedeploy/example.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "lambda_api" {
1313
app_name = "my-lambda-dev"
1414
zip_filename = "./src/lambda.zip"
1515
zip_handler = "index.handler"
16-
zip_runtime = "nodejs12.x"
16+
zip_runtime = "nodejs20.x"
1717
hosted_zone = module.acs.route53_zone
1818
https_certificate_arn = module.acs.certificate.arn
1919
vpc_id = module.acs.vpc.id

examples/simple-lambda-in-vpc/example.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module "lambda_api" {
1313
app_name = "my-lambda-dev"
1414
zip_filename = "./src/lambda.zip"
1515
zip_handler = "index.handler"
16-
zip_runtime = "nodejs12.x"
16+
zip_runtime = "nodejs20.x"
1717

1818
hosted_zone = module.acs.route53_zone
1919
https_certificate_arn = module.acs.certificate.arn

examples/simple-lambda-with-deploy-test/example.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module "lambda_api" {
1414
env = "dev"
1515
zip_filename = "./src/lambda.zip"
1616
zip_handler = "index.handler"
17-
zip_runtime = "nodejs12.x"
17+
zip_runtime = "nodejs20.x"
1818

1919
hosted_zone = module.acs.route53_zone
2020
https_certificate_arn = module.acs.certificate.arn
@@ -61,7 +61,7 @@ resource "aws_lambda_function" "test_lambda" {
6161
function_name = "my-lambda-deploy-test"
6262
role = aws_iam_role.test_lambda.arn
6363
handler = "index.handler"
64-
runtime = "nodejs12.x"
64+
runtime = "nodejs20.x"
6565
timeout = 30
6666
source_code_hash = data.archive_file.cleanup_lambda_zip.output_base64sha256
6767
}

0 commit comments

Comments
 (0)