From 5d7f990273f61290e355d65e4cae0c082f4453ea Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 6 May 2024 13:53:01 -0600 Subject: [PATCH 1/2] updated layer version to match the rest of the docs. --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index e9fcc7b2db..4217e3ca7d 100644 --- a/docs/index.md +++ b/docs/index.md @@ -89,7 +89,7 @@ You can use Powertools for AWS Lambda (TypeScript) by installing it with your fa const powertoolsLayer = LayerVersion.fromLayerVersionArn( this, 'PowertoolsLayer', - `arn:aws:lambda:${Stack.of(this).region}:094274105915:layer:AWSLambdaPowertoolsTypeScriptV2:3` + `arn:aws:lambda:${Stack.of(this).region}:094274105915:layer:AWSLambdaPowertoolsTypeScriptV2:5` ); new Function(this, 'Function', { From 06e477b2fef5be68550a56644326d59c8f8da6cb Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 6 May 2024 13:53:42 -0600 Subject: [PATCH 2/2] removed @aws-sdk from exluded packages, this would only be the case if you were also using a layer for it --- docs/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 4217e3ca7d..258de23e90 100644 --- a/docs/index.md +++ b/docs/index.md @@ -111,7 +111,6 @@ You can use Powertools for AWS Lambda (TypeScript) by installing it with your fa bundling: { externalModules: [ '@aws-lambda-powertools/*', - '@aws-sdk/*', ], } });