File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
simple-lambda-with-deploy-test Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ module "lambda_api" {
31
31
app_name = "my-lambda-codedeploy-dev"
32
32
zip_filename = "./src/lambda.zip"
33
33
zip_handler = "index.handler"
34
- zip_runtime = "nodejs12 .x"
34
+ zip_runtime = "nodejs20 .x"
35
35
36
36
hosted_zone = module.acs.route53_zone
37
37
https_certificate_arn = module.acs.certificate.arn
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module "lambda_api" {
16
16
app_name = " my-lambda"
17
17
zip_filename = " ./lambda.zip"
18
18
zip_handler = " index.handler"
19
- zip_runtime = " nodejs12 .x"
19
+ zip_runtime = " nodejs20 .x"
20
20
hosted_zone = module. acs . route53_zone
21
21
https_certificate_arn = module. acs . certificate . arn
22
22
vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module "lambda_api" {
16
16
app_name = " my-lambda"
17
17
zip_filename = " ./lambda.zip"
18
18
zip_handler = " index.handler"
19
- zip_runtime = " nodejs12 .x"
19
+ zip_runtime = " nodejs20 .x"
20
20
hosted_zone = module. acs . route53_zone
21
21
https_certificate_arn = module. acs . certificate . arn
22
22
vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ module "lambda_api" {
21
21
app_name = " my-lambda"
22
22
zip_filename = " ./lambda.zip"
23
23
zip_handler = " index.handler"
24
- zip_runtime = " nodejs12 .x"
24
+ zip_runtime = " nodejs20 .x"
25
25
hosted_zone = module. acs . route53_zone
26
26
https_certificate_arn = module. acs . certificate . arn
27
27
vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module "lambda_api" {
13
13
app_name = " my-lambda-dev"
14
14
zip_filename = " ./src/lambda.zip"
15
15
zip_handler = " index.handler"
16
- zip_runtime = " nodejs12 .x"
16
+ zip_runtime = " nodejs20 .x"
17
17
hosted_zone = module. acs . route53_zone
18
18
https_certificate_arn = module. acs . certificate . arn
19
19
vpc_id = module. acs . vpc . id
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module "lambda_api" {
13
13
app_name = " my-lambda-dev"
14
14
zip_filename = " ./src/lambda.zip"
15
15
zip_handler = " index.handler"
16
- zip_runtime = " nodejs12 .x"
16
+ zip_runtime = " nodejs20 .x"
17
17
18
18
hosted_zone = module. acs . route53_zone
19
19
https_certificate_arn = module. acs . certificate . arn
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ module "lambda_api" {
14
14
env = " dev"
15
15
zip_filename = " ./src/lambda.zip"
16
16
zip_handler = " index.handler"
17
- zip_runtime = " nodejs12 .x"
17
+ zip_runtime = " nodejs20 .x"
18
18
19
19
hosted_zone = module. acs . route53_zone
20
20
https_certificate_arn = module. acs . certificate . arn
@@ -61,7 +61,7 @@ resource "aws_lambda_function" "test_lambda" {
61
61
function_name = " my-lambda-deploy-test"
62
62
role = aws_iam_role. test_lambda . arn
63
63
handler = " index.handler"
64
- runtime = " nodejs12 .x"
64
+ runtime = " nodejs20 .x"
65
65
timeout = 30
66
66
source_code_hash = data. archive_file . cleanup_lambda_zip . output_base64sha256
67
67
}
You can’t perform that action at this time.
0 commit comments