rapid-raincoat-36492
09/29/2021, 6:04 PMconst helloWorldFn = new lambda.Function('hello-world', {
code: new asset.FileArchive(`${__dirname}/../../build`),
handler: 'build/src/index.telemetryClassifierHandler',
name: 'pulumiTestFn',
publish: true,
role: role.arn,
runtime: 'nodejs14.x',
tracingConfig: {
mode: 'ACTIVE',
},
});
I am seeing a ValidationError
like in the attached image, however I can upload a zip file of that directory in the AWS console (or via serverless and/or terraform) and all of them seem to be okay with the contents of the build
dir. I have tried creating a zip file separately and using that file as the FileArchive
, as well as changing the handler to include the build/
prefix or not
I don't see any useful logs on what is failing to validate when using --debug
or --verbose 4
.
Has anyone seen this before, or know how to debug what is wrong?ACTIVE
to Active