Skip to content

s3: S3 object notifications managed from multiple stacks interfere with each other #28120

@rix0rrr

Description

@rix0rrr

Describe the bug

When S3 object notifications are added to referenced bucket from 2 or more different stacks, changes to the notification prefix on one of the stacks can delete the notifications of the other stack.

Probable bug in the custom resource.

Internal reference P103121314

Expected Behavior

The notifications to be updated as expected.

Current Behavior

There is some interference between stacks.

Reproduction Steps

Create 3 stacks:

  • One a with a bucket
  • Reference that bucket from the other 2 stacks and create object notifications on them
  • Deploy
  • Change the prefix on one of the stacks
  • Observe what happens

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

Framework Version

No response

Node.js Version

OS

Language

TypeScript

Language Version

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-s3Related to Amazon S3bugThis issue is a bug.closed-for-stalenessThis issue was automatically closed because it hadn't received any attention in a while.effort/mediumMedium work item – several days of effortp1response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions