acceptable-army-69872
04/14/2021, 5:50 PMnew pulumi.asset.AssetArchive({
".": new pulumi.asset.FileArchive("./lambda/CSVDownload"),
})
which is a typescript function that creates a zip of some lambda code. When I run that out of jenkins, I get errors
Error: failed to register new resource csvDownloadLambda [aws:lambda/function:Function]: 2 UNKNOWN: failed to compute archive hash: couldn't read archive path './lambda/CSVDownload': stat ./lambda/CSVDownload: no such file or directory
Which I think is something to do with jenkins workspaces and symlinks. While this may end up being a typescript specific question (and I should head to #typescript) I'm wondering if anyone else has hit similar bumps on running out of a ci pipeline, or any suggested paths to go down for resolving this. I can't be creating a new pattern.CsvDownload
, not CSVDownload
.