Skip to content

Commit f5df349

Browse files
authored
Update Lambda layer nodejs runtime (#89)
*Description of changes:* Update Lambda layer nodejs runtime By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 69473ad commit f5df349

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lambda-layer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@aws/aws-distro-opentelemetry-node-autoinstrumentatio-sdk-layer",
2+
"name": "@aws/aws-distro-opentelemetry-node-autoinstrumentatio-sdk-layer-tooling",
33
"version": "0.0.1",
44
"description": "Lambda Layer including AWS Distro OpenTelemetry SDK for supporting Amazon Application Signals",
55
"repository": "aws-observability/aws-otel-js-instrumentation",
@@ -10,7 +10,7 @@
1010
"homepage": "https://github.com/aws-observability/aws-otel-js-instrumentation/tree/main/aws-distro-opentelemetry-node-autoinstrumentation#readme",
1111
"license": "Apache-2.0",
1212
"engines": {
13-
"node": ">=16"
13+
"node": ">=20"
1414
},
1515
"publishConfig": {
1616
"access": "public"

lambda-layer/packages/layer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@aws/aws-distro-opentelemetry-node-autoinstrumentatio-sdk-layer",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Lambda Layer including AWS Distro OpenTelemetry SDK for supporting Amazon Application Signals",
55
"repository": "aws-observability/aws-otel-js-instrumentation",
66
"author": {
@@ -10,7 +10,7 @@
1010
"homepage": "https://github.com/aws-observability/aws-otel-js-instrumentation/tree/main/aws-distro-opentelemetry-node-autoinstrumentation#readme",
1111
"license": "Apache-2.0",
1212
"engines": {
13-
"node": ">=16"
13+
"node": ">=20"
1414
},
1515
"publishConfig": {
1616
"access": "public"

lambda-layer/terraform/lambda/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ locals {
44
resource "aws_lambda_layer_version" "sdk_layer" {
55
layer_name = var.sdk_layer_name
66
filename = "${path.module}/../../packages/layer/build/layer.zip"
7-
compatible_runtimes = ["nodejs14.x", "nodejs16.x", "nodejs18.x"]
7+
compatible_runtimes = ["nodejs18.x", "nodejs20.x"]
88
license_info = "Apache-2.0"
99
source_code_hash = filebase64sha256("${path.module}/../../packages/layer/build/layer.zip")
1010
}

lambda-layer/terraform/lambda/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ variable "tracing_mode" {
1919
variable "runtime" {
2020
type = string
2121
description = "NodeJS runtime version used for sample Lambda Function"
22-
default = "nodejs16.x"
22+
default = "nodejs20.x"
2323
}
2424

2525
variable "architecture" {

0 commit comments

Comments
 (0)