sparse-intern-71089
01/18/2022, 6:35 PMmillions-furniture-75402
01/18/2022, 8:06 PMconst myLambdaCode = new pulumi.asset.FileArchive("./folder");
const myLambda = new aws.lambda.Function(`myFunction`, {
role: role.arn,
runtime: "go1.x",
handler: "main.handler",
code: myLambdaCode,
});
https://www.pulumi.com/docs/intro/concepts/assets-archives/#archivesrefined-terabyte-65361
01/18/2022, 8:17 PMmillions-furniture-75402
01/18/2022, 8:22 PMconst myLambdaCode = new pulumi.asset.FileArchive("./file.zip");