From 83d902c039cec8bbd42ed764589a8df9e855b44c Mon Sep 17 00:00:00 2001 From: Michael Lavers Date: Mon, 27 Apr 2020 18:56:33 -0700 Subject: [PATCH] Update Layers API to layers.newrelic-external.com --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7647bd9a..26252bf0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-newrelic-lambda-layers", - "version": "0.1.17", + "version": "0.1.18", "description": "Serverless plugin for NewRelic APM AWS Lambda layers.", "main": "dist/index.js", "files": [ diff --git a/src/index.ts b/src/index.ts index 2d264260..e170d51a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -326,7 +326,7 @@ export default class NewRelicLambdaLayerPlugin { private async getLayerArn(runtime: string, region: string) { return util .promisify(request)( - `https://${region}.nr-layers.iopipe.com/get-layers?CompatibleRuntime=${runtime}` + `https://${region}.layers.newrelic-external.com/get-layers?CompatibleRuntime=${runtime}` ) .then(response => { const awsResp = JSON.parse(response.body);