billions-lock-73409
02/14/2020, 5:55 PMrequired
at the top of the handler. It’s relative to the main lambda file yet won’t pull it in.codePathOptions: {
extraIncludePaths: ['./infra/prod/*redacted*/lambda/api/request_forms.js'],
},
const requestForms = require('./request_forms');
request_forms.js
file exporting my express-routes instance, i wrapped it all in a generator function that just returns the variable i need. Does the JS Serializing logic check for use of parameters on imported files?_aws_._lambda_._CallbackFunction_
gone past the intended use? I’m trying to require
in additional files and the serializer isn’t detecting that, so the files aren’t available in the final bundle.white-balloon-205
extraIncludePaths
from https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/runtime/closure/#CodePathOptions.billions-lock-73409
02/17/2020, 6:47 PMextraIncludePaths: ['./infra/prod/redacted/lambda/api/request_forms.js'],
./request_forms.js
white-balloon-205
billions-lock-73409
02/17/2020, 6:49 PM