bitter-island-28909
02/27/2019, 3:34 PMAWS.S3.copyObject
API. The exact same code runs fine locally, and in a lambda that I create in the traditional way. However, when I deploy using Pulumi’s aws.lambda.CallbackFunction
, the copyObject
call never invokes its callback (or delivers its promise, I’ve tried both ways). All the other code in the function seems to run, it’s very strange.
Is there any chance that Pulumi is transforming the AWS API itself a bit too aggressively? I notice that my call to require('aws-sdk')
is replaced by require("aws-sdk/lib/aws.js")
after Pulumi does its magic.brainy-magician-83981
02/27/2019, 4:27 PMbitter-island-28909
02/27/2019, 4:49 PM