-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
resource/aws_s3_bucket_object: Retry read after creation for 404 status code #17236
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @shuheiktgw 🚀
Output from acceptance testing in AWS Commercial:
--- PASS: TestAccAWSS3BucketObject_acl (149.28s)
--- PASS: TestAccAWSS3BucketObject_content (55.47s)
--- PASS: TestAccAWSS3BucketObject_contentBase64 (56.32s)
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (59.92s)
--- PASS: TestAccAWSS3BucketObject_empty (43.51s)
--- PASS: TestAccAWSS3BucketObject_etagEncryption (55.44s)
--- PASS: TestAccAWSS3BucketObject_ignoreTags (49.17s)
--- PASS: TestAccAWSS3BucketObject_kms (56.66s)
--- PASS: TestAccAWSS3BucketObject_metadata (117.12s)
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (13.28s)
--- PASS: TestAccAWSS3BucketObject_NonVersioned (55.95s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (150.69s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (94.45s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (138.35s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (173.42s)
--- PASS: TestAccAWSS3BucketObject_source (40.22s)
--- PASS: TestAccAWSS3BucketObject_sse (40.00s)
--- PASS: TestAccAWSS3BucketObject_storageClass (185.50s)
--- PASS: TestAccAWSS3BucketObject_tags (146.46s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (162.23s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (163.67s)
--- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (164.13s)
--- PASS: TestAccAWSS3BucketObject_updates (92.91s)
--- PASS: TestAccAWSS3BucketObject_updateSameFile (98.47s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (91.82s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (115.35s)
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (39.88s)
Output from acceptance testing in AWS GovCloud (US):
--- PASS: TestAccAWSS3BucketObject_acl (133.53s)
--- PASS: TestAccAWSS3BucketObject_content (72.98s)
--- PASS: TestAccAWSS3BucketObject_contentBase64 (55.80s)
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (79.15s)
--- PASS: TestAccAWSS3BucketObject_empty (56.26s)
--- PASS: TestAccAWSS3BucketObject_etagEncryption (73.86s)
--- PASS: TestAccAWSS3BucketObject_ignoreTags (113.53s)
--- PASS: TestAccAWSS3BucketObject_kms (73.81s)
--- PASS: TestAccAWSS3BucketObject_metadata (96.90s)
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (13.58s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (134.48s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (82.00s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (97.82s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (124.65s)
--- PASS: TestAccAWSS3BucketObject_source (56.30s)
--- PASS: TestAccAWSS3BucketObject_sse (64.91s)
--- PASS: TestAccAWSS3BucketObject_storageClass (170.44s)
--- PASS: TestAccAWSS3BucketObject_tags (126.19s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (155.33s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (161.70s)
--- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (156.13s)
--- PASS: TestAccAWSS3BucketObject_updates (106.26s)
--- PASS: TestAccAWSS3BucketObject_updateSameFile (106.70s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (112.11s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (114.20s)
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (56.20s)
--- SKIP: TestAccAWSS3BucketObject_NonVersioned (1.53s)
…eate logic, add CHANGELOG for #17236 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSS3BucketObject_acl (149.28s) --- PASS: TestAccAWSS3BucketObject_content (55.47s) --- PASS: TestAccAWSS3BucketObject_contentBase64 (56.32s) --- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (59.92s) --- PASS: TestAccAWSS3BucketObject_empty (43.51s) --- PASS: TestAccAWSS3BucketObject_etagEncryption (55.44s) --- PASS: TestAccAWSS3BucketObject_ignoreTags (49.17s) --- PASS: TestAccAWSS3BucketObject_kms (56.66s) --- PASS: TestAccAWSS3BucketObject_metadata (117.12s) --- PASS: TestAccAWSS3BucketObject_noNameNoKey (13.28s) --- PASS: TestAccAWSS3BucketObject_NonVersioned (55.95s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (150.69s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (94.45s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (138.35s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (173.42s) --- PASS: TestAccAWSS3BucketObject_source (40.22s) --- PASS: TestAccAWSS3BucketObject_sse (40.00s) --- PASS: TestAccAWSS3BucketObject_storageClass (185.50s) --- PASS: TestAccAWSS3BucketObject_tags (146.46s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (162.23s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (163.67s) --- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (164.13s) --- PASS: TestAccAWSS3BucketObject_updates (92.91s) --- PASS: TestAccAWSS3BucketObject_updateSameFile (98.47s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (91.82s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (115.35s) --- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (39.88s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSS3BucketObject_acl (133.53s) --- PASS: TestAccAWSS3BucketObject_content (72.98s) --- PASS: TestAccAWSS3BucketObject_contentBase64 (55.80s) --- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (79.15s) --- PASS: TestAccAWSS3BucketObject_empty (56.26s) --- PASS: TestAccAWSS3BucketObject_etagEncryption (73.86s) --- PASS: TestAccAWSS3BucketObject_ignoreTags (113.53s) --- PASS: TestAccAWSS3BucketObject_kms (73.81s) --- PASS: TestAccAWSS3BucketObject_metadata (96.90s) --- PASS: TestAccAWSS3BucketObject_noNameNoKey (13.58s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (134.48s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (82.00s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (97.82s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (124.65s) --- PASS: TestAccAWSS3BucketObject_source (56.30s) --- PASS: TestAccAWSS3BucketObject_sse (64.91s) --- PASS: TestAccAWSS3BucketObject_storageClass (170.44s) --- PASS: TestAccAWSS3BucketObject_tags (126.19s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (155.33s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (161.70s) --- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (156.13s) --- PASS: TestAccAWSS3BucketObject_updates (106.26s) --- PASS: TestAccAWSS3BucketObject_updateSameFile (106.70s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (112.11s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (114.20s) --- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (56.20s) --- SKIP: TestAccAWSS3BucketObject_NonVersioned (1.53s) ```
…eate logic, add CHANGELOG for #17236 Output from acceptance testing in AWS Commercial: ``` --- PASS: TestAccAWSS3BucketObject_acl (149.28s) --- PASS: TestAccAWSS3BucketObject_content (55.47s) --- PASS: TestAccAWSS3BucketObject_contentBase64 (56.32s) --- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (59.92s) --- PASS: TestAccAWSS3BucketObject_empty (43.51s) --- PASS: TestAccAWSS3BucketObject_etagEncryption (55.44s) --- PASS: TestAccAWSS3BucketObject_ignoreTags (49.17s) --- PASS: TestAccAWSS3BucketObject_kms (56.66s) --- PASS: TestAccAWSS3BucketObject_metadata (117.12s) --- PASS: TestAccAWSS3BucketObject_noNameNoKey (13.28s) --- PASS: TestAccAWSS3BucketObject_NonVersioned (55.95s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (150.69s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (94.45s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (138.35s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (173.42s) --- PASS: TestAccAWSS3BucketObject_source (40.22s) --- PASS: TestAccAWSS3BucketObject_sse (40.00s) --- PASS: TestAccAWSS3BucketObject_storageClass (185.50s) --- PASS: TestAccAWSS3BucketObject_tags (146.46s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (162.23s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (163.67s) --- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (164.13s) --- PASS: TestAccAWSS3BucketObject_updates (92.91s) --- PASS: TestAccAWSS3BucketObject_updateSameFile (98.47s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (91.82s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (115.35s) --- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (39.88s) ``` Output from acceptance testing in AWS GovCloud (US): ``` --- PASS: TestAccAWSS3BucketObject_acl (133.53s) --- PASS: TestAccAWSS3BucketObject_content (72.98s) --- PASS: TestAccAWSS3BucketObject_contentBase64 (55.80s) --- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (79.15s) --- PASS: TestAccAWSS3BucketObject_empty (56.26s) --- PASS: TestAccAWSS3BucketObject_etagEncryption (73.86s) --- PASS: TestAccAWSS3BucketObject_ignoreTags (113.53s) --- PASS: TestAccAWSS3BucketObject_kms (73.81s) --- PASS: TestAccAWSS3BucketObject_metadata (96.90s) --- PASS: TestAccAWSS3BucketObject_noNameNoKey (13.58s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (134.48s) --- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (82.00s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (97.82s) --- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (124.65s) --- PASS: TestAccAWSS3BucketObject_source (56.30s) --- PASS: TestAccAWSS3BucketObject_sse (64.91s) --- PASS: TestAccAWSS3BucketObject_storageClass (170.44s) --- PASS: TestAccAWSS3BucketObject_tags (126.19s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (155.33s) --- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (161.70s) --- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (156.13s) --- PASS: TestAccAWSS3BucketObject_updates (106.26s) --- PASS: TestAccAWSS3BucketObject_updateSameFile (106.70s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (112.11s) --- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (114.20s) --- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (56.20s) --- SKIP: TestAccAWSS3BucketObject_NonVersioned (1.53s) ```
This has been released in version 3.35.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Closes #9725
Output from acceptance testing:
There might be other eventual consistency problems and if I run
TestAccAWSS3BucketObject_ignoreTags
separately it succeeds.Also, the same problem happens without this change so I think it does not relate to the changes on this PR.
Thank you for your review! 👍