CodePipeline: S3 bucket policy race condition #28650
Labels
@aws-cdk/aws-s3
Related to Amazon S3
bug
This issue is a bug.
closed-for-staleness
This issue was automatically closed because it hadn't received any attention in a while.
effort/medium
Medium work item – several days of effort
p2
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
A race condition happens randomly when provisioning the S3 bucket and its bucket policy as part of the CodePipeline construct. CloudTrail logs show a PutBucketTagging API call to S3 happening before the API call to create the S3 bucket.
Expected Behavior
The CodePipeline construct is provisioned without issues
Current Behavior
Provisioning fails.
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.87.0
Framework Version
No response
Node.js Version
18.17.1
OS
Windows (WSL)
Language
Python
Language Version
3.10.12
Other information
https://github.com/aws-solutions/mlops-workload-orchestrator/blob/main/source/infrastructure/lib/mlops_orchestrator_stack.py#L484
The text was updated successfully, but these errors were encountered: