From c86ce3e210fae3f4dd2d0eb7a1476475654a2580 Mon Sep 17 00:00:00 2001 From: Michael Lavers Date: Thu, 11 Apr 2019 17:48:14 -0700 Subject: [PATCH] Updating Python Layer ARNs (#14) --- package.json | 2 +- src/layers.ts | 92 ++++++++++++++++++++++++++++----------------------- 2 files changed, 51 insertions(+), 43 deletions(-) diff --git a/package.json b/package.json index 9a39ec5..9414d9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "serverless-iopipe-layers", - "version": "0.2.1", + "version": "0.2.2", "description": "Serverless plugin to add IOpipe lambda layers.", "main": "dist/index.js", "files": [ diff --git a/src/layers.ts b/src/layers.ts index eff516a..50cc81f 100644 --- a/src/layers.ts +++ b/src/layers.ts @@ -59,70 +59,78 @@ const layers = { }, "python2.7": { "ap-northeast-1": - "arn:aws:lambda:ap-northeast-1:146318645305:layer:IOpipePython27:11", + "arn:aws:lambda:ap-northeast-1:146318645305:layer:IOpipePython27:12", "ap-northeast-2": - "arn:aws:lambda:ap-northeast-2:146318645305:layer:IOpipePython27:9", + "arn:aws:lambda:ap-northeast-2:146318645305:layer:IOpipePython27:10", "ap-south-1": - "arn:aws:lambda:ap-south-1:146318645305:layer:IOpipePython27:9", + "arn:aws:lambda:ap-south-1:146318645305:layer:IOpipePython27:10", "ap-southeast-1": - "arn:aws:lambda:ap-southeast-1:146318645305:layer:IOpipePython27:9", + "arn:aws:lambda:ap-southeast-1:146318645305:layer:IOpipePython27:10", "ap-southeast-2": - "arn:aws:lambda:ap-southeast-2:146318645305:layer:IOpipePython27:9", + "arn:aws:lambda:ap-southeast-2:146318645305:layer:IOpipePython27:10", "ca-central-1": - "arn:aws:lambda:ca-central-1:146318645305:layer:IOpipePython27:9", + "arn:aws:lambda:ca-central-1:146318645305:layer:IOpipePython27:10", "eu-central-1": - "arn:aws:lambda:eu-central-1:146318645305:layer:IOpipePython27:9", - "eu-west-1": "arn:aws:lambda:eu-west-1:146318645305:layer:IOpipePython27:9", - "eu-west-2": "arn:aws:lambda:eu-west-2:146318645305:layer:IOpipePython27:9", - "eu-west-3": "arn:aws:lambda:eu-west-3:146318645305:layer:IOpipePython27:9", - "us-east-1": "arn:aws:lambda:us-east-1:146318645305:layer:IOpipePython27:9", - "us-east-2": "arn:aws:lambda:us-east-2:146318645305:layer:IOpipePython27:9", - "us-west-1": "arn:aws:lambda:us-west-1:146318645305:layer:IOpipePython27:9", - "us-west-2": "arn:aws:lambda:us-west-2:146318645305:layer:IOpipePython27:9" + "arn:aws:lambda:eu-central-1:146318645305:layer:IOpipePython27:10", + "eu-west-1": + "arn:aws:lambda:eu-west-1:146318645305:layer:IOpipePython27:10", + "eu-west-2": + "arn:aws:lambda:eu-west-2:146318645305:layer:IOpipePython27:10", + "eu-west-3": + "arn:aws:lambda:eu-west-3:146318645305:layer:IOpipePython27:10", + "us-east-1": + "arn:aws:lambda:us-east-1:146318645305:layer:IOpipePython27:10", + "us-east-2": + "arn:aws:lambda:us-east-2:146318645305:layer:IOpipePython27:10", + "us-west-1": + "arn:aws:lambda:us-west-1:146318645305:layer:IOpipePython27:10", + "us-west-2": "arn:aws:lambda:us-west-2:146318645305:layer:IOpipePython27:10" }, "python3.6": { "ap-northeast-1": - "arn:aws:lambda:ap-northeast-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-northeast-1:146318645305:layer:IOpipePython:10", "ap-northeast-2": - "arn:aws:lambda:ap-northeast-2:146318645305:layer:IOpipePython:9", - "ap-south-1": "arn:aws:lambda:ap-south-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-northeast-2:146318645305:layer:IOpipePython:10", + "ap-south-1": + "arn:aws:lambda:ap-south-1:146318645305:layer:IOpipePython:10", "ap-southeast-1": - "arn:aws:lambda:ap-southeast-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-southeast-1:146318645305:layer:IOpipePython:10", "ap-southeast-2": - "arn:aws:lambda:ap-southeast-2:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-southeast-2:146318645305:layer:IOpipePython:10", "ca-central-1": - "arn:aws:lambda:ca-central-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ca-central-1:146318645305:layer:IOpipePython:10", "eu-central-1": - "arn:aws:lambda:eu-central-1:146318645305:layer:IOpipePython:9", - "eu-west-1": "arn:aws:lambda:eu-west-1:146318645305:layer:IOpipePython:9", - "eu-west-2": "arn:aws:lambda:eu-west-2:146318645305:layer:IOpipePython:9", - "eu-west-3": "arn:aws:lambda:eu-west-3:146318645305:layer:IOpipePython:9", - "us-east-1": "arn:aws:lambda:us-east-1:146318645305:layer:IOpipePython:10", - "us-east-2": "arn:aws:lambda:us-east-2:146318645305:layer:IOpipePython:9", - "us-west-1": "arn:aws:lambda:us-west-1:146318645305:layer:IOpipePython:9", - "us-west-2": "arn:aws:lambda:us-west-2:146318645305:layer:IOpipePython:9" + "arn:aws:lambda:eu-central-1:146318645305:layer:IOpipePython:10", + "eu-west-1": "arn:aws:lambda:eu-west-1:146318645305:layer:IOpipePython:10", + "eu-west-2": "arn:aws:lambda:eu-west-2:146318645305:layer:IOpipePython:10", + "eu-west-3": "arn:aws:lambda:eu-west-3:146318645305:layer:IOpipePython:10", + "us-east-1": "arn:aws:lambda:us-east-1:146318645305:layer:IOpipePython:11", + "us-east-2": "arn:aws:lambda:us-east-2:146318645305:layer:IOpipePython:10", + "us-west-1": "arn:aws:lambda:us-west-1:146318645305:layer:IOpipePython:10", + "us-west-2": "arn:aws:lambda:us-west-2:146318645305:layer:IOpipePython:10" }, "python3.7": { "ap-northeast-1": - "arn:aws:lambda:ap-northeast-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-northeast-1:146318645305:layer:IOpipePython:10", "ap-northeast-2": - "arn:aws:lambda:ap-northeast-2:146318645305:layer:IOpipePython:9", - "ap-south-1": "arn:aws:lambda:ap-south-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-northeast-2:146318645305:layer:IOpipePython:10", + "ap-south-1": + "arn:aws:lambda:ap-south-1:146318645305:layer:IOpipePython:10", "ap-southeast-1": - "arn:aws:lambda:ap-southeast-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-southeast-1:146318645305:layer:IOpipePython:10", "ap-southeast-2": - "arn:aws:lambda:ap-southeast-2:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ap-southeast-2:146318645305:layer:IOpipePython:10", "ca-central-1": - "arn:aws:lambda:ca-central-1:146318645305:layer:IOpipePython:9", + "arn:aws:lambda:ca-central-1:146318645305:layer:IOpipePython:10", "eu-central-1": - "arn:aws:lambda:eu-central-1:146318645305:layer:IOpipePython:9", - "eu-west-1": "arn:aws:lambda:eu-west-1:146318645305:layer:IOpipePython:9", - "eu-west-2": "arn:aws:lambda:eu-west-2:146318645305:layer:IOpipePython:9", - "eu-west-3": "arn:aws:lambda:eu-west-3:146318645305:layer:IOpipePython:9", - "us-east-1": "arn:aws:lambda:us-east-1:146318645305:layer:IOpipePython:10", - "us-east-2": "arn:aws:lambda:us-east-2:146318645305:layer:IOpipePython:9", - "us-west-1": "arn:aws:lambda:us-west-1:146318645305:layer:IOpipePython:9", - "us-west-2": "arn:aws:lambda:us-west-2:146318645305:layer:IOpipePython:9" + "arn:aws:lambda:eu-central-1:146318645305:layer:IOpipePython:10", + "eu-west-1": "arn:aws:lambda:eu-west-1:146318645305:layer:IOpipePython:10", + "eu-west-2": "arn:aws:lambda:eu-west-2:146318645305:layer:IOpipePython:10", + "eu-west-3": "arn:aws:lambda:eu-west-3:146318645305:layer:IOpipePython:10", + "us-east-1": "arn:aws:lambda:us-east-1:146318645305:layer:IOpipePython:11", + "us-east-2": "arn:aws:lambda:us-east-2:146318645305:layer:IOpipePython:10", + "us-west-1": "arn:aws:lambda:us-west-1:146318645305:layer:IOpipePython:10", + "us-west-2": "arn:aws:lambda:us-west-2:146318645305:layer:IOpipePython:10" } };