diff --git a/src/llrt-function.ts b/src/llrt-function.ts index 8ece285..bd35a7d 100644 --- a/src/llrt-function.ts +++ b/src/llrt-function.ts @@ -23,6 +23,7 @@ export class LlrtFunction extends NodejsFunction { const cacheDir = `.tmp/llrt/${version}/${arch}`; super(scope, id, { + awsSdkConnectionReuse: false, ...props, bundling: { target: 'es2020', diff --git a/test/llrt-function.integ.snapshot/LlrtFunctionIntegTest.template.json b/test/llrt-function.integ.snapshot/LlrtFunctionIntegTest.template.json index b539246..f9a0b4c 100644 --- a/test/llrt-function.integ.snapshot/LlrtFunctionIntegTest.template.json +++ b/test/llrt-function.integ.snapshot/LlrtFunctionIntegTest.template.json @@ -99,11 +99,6 @@ "Arn" ] }, - "Environment": { - "Variables": { - "AWS_NODEJS_CONNECTION_REUSE_ENABLED": "1" - } - }, "Handler": "index.handler", "Runtime": "provided.al2023" },