Skip to content

Commit 50558b4

Browse files
committed
fix: don't bundle AWS SDK
1 parent 977c180 commit 50558b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/servers/dog-facts/lib/dog-facts-mcp-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class DogFactsMcpServer extends cdk.Stack {
7979
nodeModules: ["@ivotoby/openapi-mcp-server"],
8080
// For testing, the @aws/run-mcp-servers-with-aws-lambda package is bundled from local files using the Lambda layer above.
8181
// Remove the layer and this externalModules configuration if using the @aws/run-mcp-servers-with-aws-lambda package from npm.
82-
externalModules: ["@aws/run-mcp-servers-with-aws-lambda"],
82+
externalModules: ["@aws/run-mcp-servers-with-aws-lambda", "@aws-sdk/*"],
8383
commandHooks: {
8484
beforeBundling(inputDir: string, outputDir: string): string[] {
8585
return [];

0 commit comments

Comments
 (0)