m

    mysterious-glass-98830

    3 months ago
    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

    billowy-army-68599

    3 months ago
    what are you trying?
    m

    mysterious-glass-98830

    3 months ago
    This is the pulumi 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

    billowy-army-68599

    3 months ago
    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

    mysterious-glass-98830

    3 months ago
    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

    billowy-army-68599

    3 months ago
    yep, copied and pasted exactly
    m

    mysterious-glass-98830

    3 months ago
    ok let me perform another test I have a feeling it might be account permissions
    b

    billowy-army-68599

    3 months ago
    if you export the bucket name:
    export const bucketName = bucket.bucket
    and then do:
    aws s3api get-bucket-notification-configuration --bucket $(pulumi stack output bucketName)
    What gets returned?
    m

    mysterious-glass-98830

    2 months ago
    Hello community, I came by poop to inform that it was solved by updating the pulumi plugin for aws.