Skip to content

Commit

Permalink
chore: Removed support for deprecated Node runtimes. (#257)
Browse files Browse the repository at this point in the history
Signed-off-by: mrickard <maurice@mauricerickard.com>
  • Loading branch information
mrickard authored Jan 18, 2024
1 parent cab5cfc commit 41ad0ed
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ A CLI to install the New Relic AWS Lambda integration and layers.
* java8.al2
* java11
* java17
* nodejs12.x
* nodejs14.x
* nodejs16.x
* nodejs18.x
* nodejs20.x
* provided
* provided.al2
Expand Down
8 changes: 0 additions & 8 deletions newrelic_lambda_cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@
"Handler": "com.newrelic.java.HandlerWrapper::",
"LambdaExtension": True,
},
"nodejs12.x": {
"Handler": "newrelic-lambda-wrapper.handler",
"LambdaExtension": True,
},
"nodejs14.x": {
"Handler": "newrelic-lambda-wrapper.handler",
"LambdaExtension": True,
},
"nodejs16.x": {
"Handler": "newrelic-lambda-wrapper.handler",
"LambdaExtension": True,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,6 @@ def test_uninstall(aws_credentials, mock_function_config):


def test_layers_index():
layers = index("ap-southeast-1", "nodejs14.x", "x86_64")
layers = index("ap-southeast-1", "nodejs20.x", "x86_64")

assert len(layers) == 1
2 changes: 0 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ def test_supports_lambda_extension():
"java17",
"java11",
"java8.al2",
"nodejs12.x",
"nodejs14.x",
"nodejs16.x",
"nodejs18.x",
"nodejs20.x",
Expand Down

0 comments on commit 41ad0ed

Please sign in to comment.