Skip to content

Commit

Permalink
chore: Updated test fixtures
Browse files Browse the repository at this point in the history
Signed-off-by: mrickard <maurice@mauricerickard.com>
  • Loading branch information
mrickard committed Mar 14, 2024
1 parent 7439422 commit 92e1cf0
Show file tree
Hide file tree
Showing 23 changed files with 43 additions and 43 deletions.
4 changes: 2 additions & 2 deletions tests/fixtures/arm64.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16XARM64:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16XARM64:90"
],
"package": {
"exclude": [
Expand Down Expand Up @@ -52,7 +52,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18XARM64:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18XARM64:65"
],
"package": {
"exclude": [
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/debug-log-level.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -54,7 +54,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/debug.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -53,7 +53,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -50,7 +50,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/eu.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -55,7 +55,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/function-has-layers.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"service": "newrelic-lambda-layers-nodejs-example",
"provider": {
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"name": "aws",
"stage": "prod",
Expand Down Expand Up @@ -46,7 +46,7 @@
"runtime": "nodejs18.x",
"layers": [
"arn:aws:lambda:us-east-1:123456789012:layer:SomeOtherLayer:1",
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
]
},
"layer-nodejs18x2": {
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/include.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": { "exclude": [
"./**",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"service": "newrelic-lambda-layers-nodejs-example",
"provider": {
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"name": "aws",
"stage": "prod",
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/lambda-extension-disabled.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -49,7 +49,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/lambda-extension-enabled.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -47,7 +47,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": [
Expand Down Expand Up @@ -53,7 +53,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": [
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/log-disabled.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -50,7 +50,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": [
Expand Down Expand Up @@ -57,7 +57,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": [
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/log-level.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -53,7 +53,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/manual-wrapping.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
],
"provider": {
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"name": "aws",
"region": "us-east-1",
Expand Down
6 changes: 3 additions & 3 deletions tests/fixtures/node-versions.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -48,7 +48,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -67,7 +67,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS20X:12"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS20X:15"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -56,7 +56,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/provider-environment.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -55,7 +55,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/provider-layer.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"service": "newrelic-lambda-layers-nodejs-example",
"provider": {
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"name": "aws",
"stage": "prod",
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/proxy.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": [
Expand Down Expand Up @@ -52,7 +52,7 @@
],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": [
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/stage-included.output.service.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -49,7 +49,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -48,7 +48,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:87"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS16X:90"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand All @@ -49,7 +49,7 @@
"events": [{ "schedule": "rate(5 minutes)" }],
"handler": "newrelic-lambda-wrapper.handler",
"layers": [
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:62"
"arn:aws:lambda:us-east-1:451483290750:layer:NewRelicNodeJS18X:65"
],
"package": {
"exclude": ["./**", "!newrelic-wrapper-helper.js"],
Expand Down

0 comments on commit 92e1cf0

Please sign in to comment.