From bcb2b66d9f26209ce767da79d39d29e6cc0db7c0 Mon Sep 17 00:00:00 2001 From: branberry Date: Fri, 13 Oct 2023 10:23:23 -0500 Subject: [PATCH] Use proxy handler --- cdk-infra/lib/constructs/api/webhook-api-construct.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk-infra/lib/constructs/api/webhook-api-construct.ts b/cdk-infra/lib/constructs/api/webhook-api-construct.ts index 7e655f202..658986972 100644 --- a/cdk-infra/lib/constructs/api/webhook-api-construct.ts +++ b/cdk-infra/lib/constructs/api/webhook-api-construct.ts @@ -80,7 +80,7 @@ export class WebhookApiConstruct extends Construct { environment, timeout, adotInstrumentation: { - execWrapper: AdotLambdaExecWrapper.REGULAR_HANDLER, + execWrapper: AdotLambdaExecWrapper.PROXY_HANDLER, layerVersion: AdotLayerVersion.fromJavaScriptSdkLayerVersion(AdotLambdaLayerJavaScriptSdkVersion.V1_7_0), }, });