Hi community, I am trying to activate Amazon Event...
# general
m
Hi community, I am trying to activate Amazon EventBridge notifications to a s3 cube with pulumi, but it does not activate this property, has anyone already faced this problem?
b
what are you trying?
m
This is the pulumi code
Copy code
const bucket = new aws.s3.Bucket("test001", {
    acl: "private",
    tags: {
        Environment: "Dev",
        Name: "My bucket",
    },
});

const test = new aws.s3.BucketNotification("bucketNotification", {
    bucket: bucket.id,  
    eventbridge : true,
})
But it does not activate EventBridge in the bucket.
b
i'm trying this now, standby
@mysterious-glass-98830 this works for me? I did notice in your code you have a gap between
eventbridge
and
:
is that expected?
are you sure you're looking at the right bucket?
m
Sorry I missed a space, but without the space it does not activate the eventbridge, if that is what I expect.
Does the code I shared work for you?
b
yep, copied and pasted exactly
m
ok let me perform another test I have a feeling it might be account permissions
b
if you export the bucket name:
Copy code
export const bucketName = bucket.bucket
and then do:
Copy code
aws s3api get-bucket-notification-configuration --bucket $(pulumi stack output bucketName)
What gets returned?
m
Hello community, I came by poop to inform that it was solved by updating the pulumi plugin for aws.