creamy-traffic-1212111/03/2020, 2:46 PM
. The bucket in question does have versioning enabled.
$ pulumi up
witty-candle-6600711/03/2020, 3:35 PM
creamy-traffic-1212111/03/2020, 3:42 PM
witty-candle-6600711/03/2020, 5:05 PM
creamy-traffic-1212111/03/2020, 6:16 PM
witty-candle-6600711/03/2020, 6:33 PM
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-1212111/03/2020, 6:44 PM
, but I'm not sure if that would produce undesirable behavior in some cases.