-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/s3_bucket: read-only cors_rule
argument
#22611
Conversation
cors_rule
argument
1e894e8
to
6623846
Compare
ffeacc8
to
dfd36ba
Compare
44a00a8
to
5ac8e8c
Compare
0e04afa
to
fb73e6b
Compare
695abe8
to
d25db85
Compare
d25db85
to
4632ff3
Compare
Optionally preceded by #12141 |
4632ff3
to
a985838
Compare
a985838
to
f24f928
Compare
f24f928
to
e49e835
Compare
3de1499
to
7ddbd8f
Compare
Needs mention in upgrade guide |
7ddbd8f
to
a9ba389
Compare
a9ba389
to
db31036
Compare
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.
Looks good! 🚀
--- SKIP: TestAccS3BucketLogging_TargetGrantByEmail (0.00s)
--- SKIP: TestAccS3BucketReplicationConfiguration_existingObjectReplication (0.00s)
--- PASS: TestBucketName (0.00s)
--- PASS: TestBucketRegionalDomainName (0.00s)
--- PASS: TestWebsiteEndpoint (0.00s)
--- PASS: TestAccS3Bucket_Basic_forceDestroyWithObjectLockEnabled (119.89s)
--- PASS: TestAccS3Bucket_Basic_forceDestroyWithEmptyPrefixes (122.47s)
--- PASS: TestAccS3Bucket_Basic_forceDestroy (125.99s)
--- PASS: TestAccS3BucketVersioning_disappears (126.98s)
--- PASS: TestAccS3BucketWebsiteConfiguration_disappears (134.84s)
--- PASS: TestAccS3BucketAccelerateConfiguration_basic (135.48s)
--- PASS: TestAccS3BucketWebsiteConfiguration_Redirect (136.20s)
--- PASS: TestAccS3BucketVersioning_MFADelete (136.59s)
--- PASS: TestAccS3BucketWebsiteConfiguration_RoutingRules_RedirectOnly (137.41s)
--- PASS: TestAccS3BucketVersioning_basic (138.42s)
--- PASS: TestAccS3BucketWebsiteConfiguration_basic (141.85s)
--- PASS: TestAccS3Bucket_Replication_schemaV2SameRegion (146.71s)
--- PASS: TestAccS3Bucket_Replication_withoutPrefix (223.45s)
--- PASS: TestAccS3Bucket_Manage_objectLock (225.25s)
--- PASS: TestAccS3Bucket_Replication_expectVersioningValidationError (113.93s)
--- PASS: TestAccS3BucketWebsiteConfiguration_update (242.03s)
--- PASS: TestAccS3BucketWebsiteConfiguration_RoutingRules_MultipleRules (245.31s)
--- PASS: TestAccS3Bucket_Manage_lifecycleRuleExpirationEmptyBlock (124.54s)
--- PASS: TestAccS3Bucket_Manage_lifecycleRuleAbortIncompleteMultipartUploadDaysNoExpiration (138.48s)
--- PASS: TestAccS3BucketVersioning_update (350.86s)
--- PASS: TestAccS3Bucket_Replication_withoutStorageClass (229.47s)
--- PASS: TestAccS3Bucket_Basic_shouldFailNotFound (101.53s)
--- PASS: TestAccS3Bucket_Manage_versioningAndMfaDeleteDisabled (143.60s)
--- PASS: TestAccS3Bucket_Security_logging (150.32s)
--- PASS: TestAccS3Bucket_Manage_MfaDeleteDisabled (140.44s)
--- PASS: TestAccS3Bucket_Replication_twoDestination (239.94s)
--- PASS: TestAccS3Bucket_Manage_versioningDisabled (133.27s)
--- PASS: TestAccS3Bucket_Manage_lifecycleExpireMarkerOnly (236.43s)
--- PASS: TestAccS3Bucket_Replication_multipleDestinationsNonEmptyFilter (243.15s)
--- PASS: TestAccS3Bucket_Replication_multipleDestinationsEmptyFilter (242.91s)
--- PASS: TestAccS3BucketWebsiteConfiguration_RoutingRules_ConditionAndRedirect (386.45s)
--- PASS: TestAccS3Bucket_Basic_keyEnabled (150.95s)
--- PASS: TestAccS3Bucket_Manage_lifecycleBasic (332.65s)
--- PASS: TestAccS3Bucket_Security_enableDefaultEncryptionWhenAES256IsUsed (134.27s)
--- PASS: TestAccS3Bucket_Manage_versioning (252.91s)
--- PASS: TestAccS3Bucket_Security_enableDefaultEncryptionWhenTypical (136.15s)
--- PASS: TestAccS3Bucket_Basic_generatedName (134.93s)
--- PASS: TestAccS3Bucket_Replication_ruleDestinationAddAccessControlTranslation (391.01s)
--- PASS: TestAccS3Bucket_Replication_ruleDestinationAccessControlTranslation (391.58s)
--- PASS: TestAccS3Bucket_Basic_namePrefix (133.28s)
--- PASS: TestAccS3Bucket_Tags_basic (129.83s)
--- PASS: TestAccS3Bucket_Security_disableDefaultEncryptionWhenDefaultEncryptionIsEnabled (209.56s)
--- PASS: TestAccS3Bucket_Security_grantToACL (192.77s)
--- PASS: TestAccS3Bucket_Security_aclToGrant (199.35s)
--- PASS: TestAccS3Bucket_Security_updateACL (198.66s)
--- PASS: TestAccS3Bucket_Basic_requestPayer (204.08s)
--- PASS: TestAccS3Bucket_Basic_acceleration (204.30s)
--- PASS: TestAccS3Bucket_Basic_emptyString (100.99s)
--- PASS: TestAccS3Bucket_Basic_basic (101.22s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_ApplySSEByDefault_KMSWithMasterKeyID (102.04s)
--- PASS: TestAccS3Bucket_Security_updateGrant (274.30s)
--- PASS: TestAccS3Bucket_Security_policy (275.12s)
--- PASS: TestAccS3Bucket_Replication_RTC_valid (654.06s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_ApplySSEByDefault_KMSWithMasterKeyArn (100.03s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_disappears (88.78s)
--- PASS: TestAccS3Bucket_Tags_ignoreTags (183.05s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_ApplySSEByDefault_KMS (102.21s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_ApplySEEByDefault_AES256 (101.41s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_basic (100.03s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_ApplySSEByDefault_BucketKeyEnabled (187.24s)
--- PASS: TestAccS3BucketRequestPaymentConfiguration_Basic_Requester (103.83s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_BucketKeyEnabled (189.61s)
--- PASS: TestAccS3BucketRequestPaymentConfiguration_Basic_BucketOwner (115.87s)
--- PASS: TestAccS3BucketServerSideEncryptionConfiguration_ApplySSEByDefault_UpdateSSEAlgorithm (197.25s)
--- PASS: TestAccS3Bucket_Replication_basic (642.01s)
--- PASS: TestAccS3Bucket_Replication_schemaV2 (793.28s)
--- PASS: TestAccS3Bucket_Tags_withNoSystemTags (324.93s)
--- PASS: TestAccS3BucketRequestPaymentConfiguration_update (259.40s)
--- PASS: TestAccS3Bucket_Tags_withSystemTags (366.37s)
--- PASS: TestAccS3BucketReplicationConfiguration_disappears (99.40s)
--- PASS: TestAccS3BucketReplicationConfiguration_schemaV2SameRegion (228.64s)
--- PASS: TestAccS3BucketPublicAccessBlock_Disappears_bucket (35.95s)
--- PASS: TestAccS3BucketPublicAccessBlock_restrictPublicBuckets (121.68s)
--- PASS: TestAccS3BucketPublicAccessBlock_disappears (32.01s)
--- PASS: TestAccS3BucketPublicAccessBlock_ignorePublicACLs (101.98s)
--- PASS: TestAccS3BucketPublicAccessBlock_basic (35.48s)
--- PASS: TestAccS3BucketPublicAccessBlock_blockPublicPolicy (90.76s)
--- PASS: TestAccS3BucketPublicAccessBlock_blockPublicACLs (84.68s)
--- PASS: TestAccS3BucketPolicy_basic (21.51s)
--- PASS: TestAccS3BucketPolicy_policyUpdate (37.69s)
--- PASS: TestAccS3BucketOwnershipControls_Disappears_bucket (21.20s)
--- PASS: TestAccS3BucketOwnershipControls_Rule_objectOwnership (39.54s)
--- PASS: TestAccS3BucketOwnershipControls_disappears (22.08s)
--- PASS: TestAccS3BucketPolicy_IAMRoleOrder_policyDoc (75.33s)
--- PASS: TestAccS3BucketOwnershipControls_basic (25.37s)
--- PASS: TestAccS3BucketReplicationConfiguration_withoutPrefix (388.99s)
--- PASS: TestAccS3BucketPolicy_IAMRoleOrder_policyDocNotPrincipal (93.86s)
--- PASS: TestAccS3BucketObjectsDataSource_fetchOwner (38.61s)
--- PASS: TestAccS3BucketObjectsDataSource_startAfter (43.36s)
--- PASS: TestAccS3BucketReplicationConfiguration_filter_tagFilter (392.97s)
--- PASS: TestAccS3BucketReplicationConfiguration_schemaV2DestinationMetrics (389.78s)
--- PASS: TestAccS3BucketObjectsDataSource_maxKeys (46.65s)
--- PASS: TestAccS3BucketObjectsDataSource_encoded (49.81s)
--- PASS: TestAccS3BucketReplicationConfiguration_schemaV2 (389.92s)
--- PASS: TestAccS3BucketReplicationConfiguration_withoutStorageClass (394.52s)
--- PASS: TestAccS3BucketReplicationConfiguration_replicationTimeControl (384.25s)
--- PASS: TestAccS3BucketReplicationConfiguration_replicaModifications (394.90s)
--- PASS: TestAccS3BucketObjectsDataSource_prefixes (58.11s)
--- PASS: TestAccS3BucketObjectsDataSource_all (60.66s)
--- PASS: TestAccS3BucketObjectsDataSource_basicViaAccessPoint (67.73s)
--- PASS: TestAccS3BucketReplicationConfiguration_multipleDestinationsNonEmptyFilter (375.54s)
--- PASS: TestAccS3BucketReplicationConfiguration_twoDestination (378.86s)
--- PASS: TestAccS3BucketPolicy_IAMRoleOrder_jsonEncode (179.49s)
--- PASS: TestAccS3BucketReplicationConfiguration_multipleDestinationsEmptyFilter (365.28s)
--- PASS: TestAccS3BucketObject_defaultBucketSSE (58.76s)
--- PASS: TestAccS3BucketObject_bucketBucketKeyEnabled (58.32s)
--- PASS: TestAccS3BucketObjectsDataSource_basic (81.00s)
--- PASS: TestAccS3BucketReplicationConfiguration_filter_andOperator (464.46s)
--- PASS: TestAccS3BucketObject_objectBucketKeyEnabled (60.07s)
--- PASS: TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAddAccessControlTranslation (445.23s)
--- PASS: TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAccessControlTranslation (434.12s)
--- PASS: TestAccS3BucketObject_ignoreTags (126.91s)
--- SKIP: TestAccS3BucketObject_nonVersioned (0.00s)
--- PASS: TestAccS3BucketReplicationConfiguration_basic (400.54s)
--- PASS: TestAccS3BucketObject_bucketObjectBucket (146.04s)
--- PASS: TestAccS3BucketObject_kms (86.64s)
--- PASS: TestAccS3BucketObject_objectLockLegalHoldStartWithOn (131.59s)
--- PASS: TestAccS3BucketObject_sse (90.49s)
--- PASS: TestAccS3BucketObject_metadata (185.24s)
--- PASS: TestAccS3BucketObject_objectLockRetentionStartWithNone (187.26s)
--- PASS: TestAccS3BucketObject_withContentCharacteristics (92.83s)
--- PASS: TestAccS3BucketObject_noNameNoKey (20.10s)
--- PASS: TestAccS3BucketObject_updatesWithVersioningViaAccessPoint (154.29s)
--- PASS: TestAccS3BucketObject_objectLockLegalHoldStartWithNone (195.89s)
--- PASS: TestAccS3BucketObject_contentBase64 (91.20s)
--- PASS: TestAccS3BucketObject_updatesWithVersioning (164.24s)
--- PASS: TestAccS3BucketObject_updateSameFile (154.47s)
--- PASS: TestAccS3BucketObject_etagEncryption (93.49s)
--- PASS: TestAccS3BucketObject_content (98.84s)
--- PASS: TestAccS3BucketObject_updates (161.72s)
--- PASS: TestAccS3BucketObject_source (100.77s)
--- PASS: TestAccS3BucketObject_objectLockRetentionStartWithSet (258.97s)
--- PASS: TestAccS3BucketObject_empty (96.47s)
--- PASS: TestAccS3BucketObject_acl (226.75s)
--- PASS: TestAccS3BucketObject_sourceHashTrigger (169.58s)
--- PASS: TestAccS3BucketObjectDataSource_singleSlashAsKey (83.01s)
--- PASS: TestAccS3BucketObjectLockConfiguration_disappears (88.60s)
--- PASS: TestAccS3BucketObject_tagsMultipleSlashes (275.38s)
--- PASS: TestAccS3BucketObject_tagsLeadingSingleSlash (274.81s)
--- PASS: TestAccS3BucketObject_tagsLeadingMultipleSlashes (275.79s)
--- PASS: TestAccS3BucketObjectLockConfiguration_basic (99.86s)
--- PASS: TestAccS3BucketObjectDataSource_objectLockLegalHoldOn (91.79s)
--- PASS: TestAccS3BucketObject_tags (281.93s)
--- PASS: TestAccS3BucketObjectDataSource_objectLockLegalHoldOff (91.73s)
--- PASS: TestAccS3BucketObjectDataSource_allParams (89.24s)
--- PASS: TestAccS3BucketObjectDataSource_bucketKeyEnabled (90.99s)
--- PASS: TestAccS3BucketObjectDataSource_kmsEncrypted (93.33s)
--- PASS: TestAccS3BucketObjectDataSource_readableBody (90.04s)
--- PASS: TestAccS3BucketMetric_withEmptyFilter (12.76s)
--- PASS: TestAccS3BucketObjectDataSource_basicViaAccessPoint (84.27s)
--- PASS: TestAccS3BucketObjectDataSource_basic (85.54s)
--- PASS: TestAccS3BucketObjectDataSource_multipleSlashes (146.26s)
--- PASS: TestAccS3BucketObjectDataSource_leadingSlash (146.04s)
--- FAIL: TestAccS3BucketLogging_update (9.06s)
--- PASS: TestAccS3BucketObjectLockConfiguration_update (169.24s)
--- PASS: TestAccS3BucketObject_storageClass (346.00s)
--- PASS: TestAccS3BucketNotification_Topic_multiple (97.23s)
--- PASS: TestAccS3BucketNotification_topic (95.02s)
--- PASS: TestAccS3BucketNotification_eventbridge (90.78s)
--- PASS: TestAccS3BucketNotification_LambdaFunctionLambdaFunctionARN_alias (116.10s)
--- PASS: TestAccS3BucketNotification_lambdaFunction (117.85s)
--- PASS: TestAccS3BucketNotification_queue (128.77s)
--- PASS: TestAccS3BucketMetric_basic (90.13s)
--- PASS: TestAccS3BucketLogging_disappears (90.27s)
--- PASS: TestAccS3BucketLogging_basic (100.07s)
--- PASS: TestAccS3BucketMetric_withFilterMultipleTags (155.23s)
--- PASS: TestAccS3BucketMetric_withFilterSingleTag (157.78s)
--- PASS: TestAccS3BucketNotification_update (186.35s)
--- PASS: TestAccS3BucketMetric_withFilterPrefixAndMultipleTags (151.26s)
--- PASS: TestAccS3BucketMetric_withFilterPrefixAndSingleTag (155.99s)
--- PASS: TestAccS3BucketMetric_withFilterPrefix (154.57s)
--- PASS: TestAccS3BucketInventory_encryptWithSSEKMS (72.73s)
--- PASS: TestAccS3BucketIntelligentTieringConfiguration_disappears (64.13s)
--- PASS: TestAccS3BucketInventory_encryptWithSSES3 (72.71s)
--- PASS: TestAccS3BucketInventory_basic (73.83s)
--- PASS: TestAccS3BucketDataSource_website (60.37s)
--- PASS: TestAccS3BucketIntelligentTieringConfiguration_basic (69.34s)
--- PASS: TestAccS3BucketLogging_TargetGrantByGroup (214.47s)
--- PASS: TestAccS3BucketLogging_TargetGrantByID (212.33s)
--- FAIL: TestAccS3BucketCorsConfiguration_update (28.68s)
The failures are intermittent
db31036
to
2cf4f8d
Compare
047ab40
to
06dd8e3
Compare
Output of updated tests:
|
c404847
to
a36cd73
Compare
0297959
to
416fdda
Compare
This functionality has been released in v4.0.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. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Relates #4418
Relates #20433
Output from acceptance testing: