Mischa Spiegelmock
04/11/2022, 4:26 PMAPI
I set the defaults before instantiating the APIs
. it's all one stack
SST 0.69.5thdxr
04/11/2022, 4:34 PMthdxr
04/11/2022, 4:34 PMMischa Spiegelmock
04/11/2022, 4:34 PMthdxr
04/11/2022, 4:34 PM@serverless-stack-slack/resources
that's a version you wouldn't expectMischa Spiegelmock
04/11/2022, 4:35 PMMischa Spiegelmock
04/11/2022, 4:37 PMapp.addDefaultFunctionLayers([prismaLayer]);
Mischa Spiegelmock
04/11/2022, 4:37 PMthdxr
04/11/2022, 4:38 PMthdxr
04/11/2022, 4:38 PMMischa Spiegelmock
04/11/2022, 4:38 PMthdxr
04/11/2022, 4:38 PMthis.setDefault...
Mischa Spiegelmock
04/11/2022, 4:38 PMMischa Spiegelmock
04/11/2022, 4:42 PMMischa Spiegelmock
04/11/2022, 5:29 PMthis.setDefaultFunctionProps({
vpc,
runtime: "nodejs12.x",
securityGroups: [defaultLambdaSecurityGroup],
bundle: {
copyFiles: [{ from: "prisma/schema.prisma", to: "schema.prisma" }],
},
});
but I don't see schema.prisma in the bundle anywhereMischa Spiegelmock
04/11/2022, 5:34 PMthdxr
04/11/2022, 5:41 PMMischa Spiegelmock
04/11/2022, 5:42 PMMischa Spiegelmock
04/11/2022, 5:42 PMMischa Spiegelmock
04/11/2022, 5:43 PMMischa Spiegelmock
04/11/2022, 5:43 PM