creamy-traffic-12121
11/03/2020, 2:46 PM$ pulumi up
. The bucket in question does have versioning enabled.witty-candle-66007
11/03/2020, 3:35 PMcreamy-traffic-12121
11/03/2020, 3:42 PMwitty-candle-66007
11/03/2020, 5:05 PMcreamy-traffic-12121
11/03/2020, 6:16 PMwitty-candle-66007
11/03/2020, 6:33 PMs3ObjectVersion
property to your Lambda Function creation and set it to the version retrieved from the getbucketobject() call.
I haven’t tested this, but I’m thinking this should cause Pulumi to update the Lambda function on pulumi up.creamy-traffic-12121
11/03/2020, 6:44 PMpulumi up
, but I'm not sure if that would produce undesirable behavior in some cases.