https://pulumi.com logo
#general
Title
# general
w

wide-judge-30323

05/14/2019, 1:29 AM
I'm seeing some unexpected behaviour managing s3 events with
bucket.onObjectCreated
and
bucket.onObjectRemoved
. If I have multiple events defined (which is perfectly valid in s3), removing 1 removes them ALL. Is this a known bug?
I found a work-around to define a single
aws.s3.BucketNotification
with all the events - but this is not really intuitive, particularly given that defining multiple succeeds, but leaves an expected state - the last one wins, and others are deleted, but pulumi says all is fine.
w

white-balloon-205

05/14/2019, 2:59 AM
That sounds like a bug. Could you open an issue in https://github.com/pulumi/pulumi-aws with the repro?
w

wide-judge-30323

05/14/2019, 3:06 AM
Sure, will do.
👍 1