sparse-intern-71089
01/03/2024, 9:12 AMnarrow-needle-95047
01/03/2024, 9:23 AMnarrow-needle-95047
01/03/2024, 9:24 AMmillions-river-14466
01/03/2024, 3:51 PMcode: new pulumi.asset.AssetArchive({
// the FileAsset file name does not have to match the map key
// the map key is what the file will be in the lambda payload
// the file as known to the lambda will be used in the 'handler', above
'index.js': new pulumi.asset.FileAsset(`./lambda/jumpboxAccessReset/jumpboxAccessReset.js`),
}),
One slight wrinkle: we have to use ignoreChanges: ['code']
on the Function in Pulumi because we build and deploy from hosted CI/CD -- otherwise running previews locally will constantly generate changes because file paths are different.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by