This does not work:
this.lambda
.timeout(300)
.filePath(handlerFilePath)
.role(this.role())
.dependencies("**/*", {
basePath: this.temporaryDirectoryPath()
});
This does work:
this.lambda
.dependencies("**/*", {
basePath: this.temporaryDirectoryPath()
})
.timeout(300)
.filePath(handlerFilePath)
.role(this.role());