-
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
[bootstrap] Consolidated bootstrap buckets use duplicate object hashes #10710
Comments
That's a big report. I'm going to need more details.
If this is true, the content should be the same and it shouldn't matter who writes the file.
Have you been able to figure out why this is happening? Feels like this should be unrelated to what the hashes are based on. Also, multiple
I don't know what write collisions mean in S3. Just saying you're seeing "access denied" doesn't really tell me why that's happening. In response to what kind of call?
Given that an object key should be unique for every asset content, I don't see how you can have consistency issues. Maybe you got the upload performed by account A, maybe you got the upload performed by account B, but since the content should be the same it shouldn't matter. Please enlighten me?
No, I don't think it should be in the hash, because the hash can't really be trusted (which is the problem with this entire scheme). The correct solution is probably to design an object scheme like this:
Put the That needs an additional I will accept a PR that adds this. |
@rix0rrr - please review the provided PR and let Naveen know what you need to merge. |
|
Problem Summary
We are using CDK to deploy AWS features and guardrails in all AWS accounts in an AWS Organization
What's the original problem we were trying to solve?
Why don't you just uninstall the CDK stack/bootstrap bucket?
Other notes:
Options Explored:
BUG
a) upload the identical asset objects to S3 at the same time and getting write collisions;
b) attempting to read s3 objects and getting consistency/read issues/failures.
Reproduction Steps
(i.e. do the same thing in multiple AWS accounts at the same time)
What did you expect to happen?
What actually happened?
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: