-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-s3): (cdk calls DeleteBucketPolicy and PutBucketNotification at the same time causes an conflicting operation error.) #24762
Comments
Could you please detail more information regarding your setup, which constructs are producing this error and how you've configured them (reproduction code), how often this is occurring, etc. |
This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled. |
Hi @peterwoodworth , we use both of these methods to add configurations to the bucket and then deploy it via |
same issue 16811 |
It looks like we can close this as a duplicate then 🙂 Thanks for reporting |
|
Describe the bug
We often get these occasional errors in our smoke tests deployed by aws cdk.
By digging through the event logs in cloudtrail, we found that if cdk calls DeleteBucketPolicy and PutBucketNotification at the same time. One of these operations will raise an error for a conflicting operation.
Expected Behavior
The operations on the bucket can be performed in sequence.
Current Behavior
cdk calls DeleteBucketPolicy and PutBucketNotification at the same time causes an conflicting operation error.
Reproduction Steps
This error is uncontrollable. It is sometimes absent and sometimes too frequent. It always occurs when deleting a bucket stack with a bucket policy and bucket notifications.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.59.0
Framework Version
No response
Node.js Version
16
OS
linux
Language
Python
Language Version
3.10
Other information
No response
The text was updated successfully, but these errors were encountered: