Flaky bug: error reading S3 bucket server-side encryption configuration #24232
Labels
bug
Addresses a defect in current functionality.
service/s3
Issues and PRs that pertain to the s3 service.
Community Note
Terraform CLI and Terraform AWS Provider Version
v1.1.7
v4.8.0
Affected Resource(s)
Terraform Configuration Files
Note that various S3 configuration resources all have explicit
depends_on
clauses to workaround different kinds of bugs similar to #7628 where deployment may randomly fail due to concurrent updates of s3 bucket configuration...Spoiler much code
Debug Output
Unfortunately, there isn't one available. This bug randomly reproduces on our CI, where we don't have verbose debug logging enabled because it produces too much output...
Expected Behavior
There must be no problems deploying a bucket with server side encryption...
Actual Behavior
We run a lot of deployments with
terraform
on our CI every day, and see a lot of flakiness like this.In this case it is an error deploying the bucket with SSE config resource described above with the error on CI:
It reproduces very randomly, that's why this is a flaky bug...
Steps to Reproduce
Do a fresh deployment from scratch (non-incremental),.
terraform plan
(not sure it influences anything though)terraform apply
The text was updated successfully, but these errors were encountered: