Skip to content
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/aws_s3_bucket: Add support for S3 Bucket Keys #16581

Merged
merged 5 commits into from
Apr 2, 2021

Conversation

mattburgess
Copy link
Collaborator

@mattburgess mattburgess commented Dec 3, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Relates #16536

Release note for CHANGELOG:

resource/aws_s3_bucket: Add support for S3 Bucket Keys [GH-16536]
resource/aws_s3_bucket_object: Add support for S3 Bucket Keys [GH-16536]
datasource/aws_s3_bucket_object: Add support for S3 Bucket Keys [GH-16536]

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSS3Bucket'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3Bucket -timeout 120m
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_basic
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_basic
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_removed
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_removed
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_updateBasic
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_updateBasic
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Empty
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Empty
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Prefix
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Prefix
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_SingleTag
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_SingleTag
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_MultipleTags
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_MultipleTags
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_PrefixAndTags
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_PrefixAndTags
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Remove
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Remove
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Empty
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Empty
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Default
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Default
=== RUN   TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Full
=== PAUSE TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Full
=== RUN   TestAccAWSS3BucketInventory_basic
=== PAUSE TestAccAWSS3BucketInventory_basic
=== RUN   TestAccAWSS3BucketInventory_encryptWithSSES3
=== PAUSE TestAccAWSS3BucketInventory_encryptWithSSES3
=== RUN   TestAccAWSS3BucketInventory_encryptWithSSEKMS
=== PAUSE TestAccAWSS3BucketInventory_encryptWithSSEKMS
=== RUN   TestAccAWSS3BucketMetric_basic
=== PAUSE TestAccAWSS3BucketMetric_basic
=== RUN   TestAccAWSS3BucketMetric_WithEmptyFilter
=== PAUSE TestAccAWSS3BucketMetric_WithEmptyFilter
=== RUN   TestAccAWSS3BucketMetric_WithFilterPrefix
=== PAUSE TestAccAWSS3BucketMetric_WithFilterPrefix
=== RUN   TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags
=== PAUSE TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags
=== RUN   TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag
=== PAUSE TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag
=== RUN   TestAccAWSS3BucketMetric_WithFilterMultipleTags
=== PAUSE TestAccAWSS3BucketMetric_WithFilterMultipleTags
=== RUN   TestAccAWSS3BucketMetric_WithFilterSingleTag
=== PAUSE TestAccAWSS3BucketMetric_WithFilterSingleTag
=== RUN   TestAccAWSS3BucketNotification_LambdaFunction
=== PAUSE TestAccAWSS3BucketNotification_LambdaFunction
=== RUN   TestAccAWSS3BucketNotification_LambdaFunction_LambdaFunctionArn_Alias
=== PAUSE TestAccAWSS3BucketNotification_LambdaFunction_LambdaFunctionArn_Alias
=== RUN   TestAccAWSS3BucketNotification_Queue
=== PAUSE TestAccAWSS3BucketNotification_Queue
=== RUN   TestAccAWSS3BucketNotification_Topic
=== PAUSE TestAccAWSS3BucketNotification_Topic
=== RUN   TestAccAWSS3BucketNotification_Topic_Multiple
=== PAUSE TestAccAWSS3BucketNotification_Topic_Multiple
=== RUN   TestAccAWSS3BucketNotification_update
=== PAUSE TestAccAWSS3BucketNotification_update
=== RUN   TestAccAWSS3BucketObject_noNameNoKey
=== PAUSE TestAccAWSS3BucketObject_noNameNoKey
=== RUN   TestAccAWSS3BucketObject_empty
=== PAUSE TestAccAWSS3BucketObject_empty
=== RUN   TestAccAWSS3BucketObject_source
=== PAUSE TestAccAWSS3BucketObject_source
=== RUN   TestAccAWSS3BucketObject_content
=== PAUSE TestAccAWSS3BucketObject_content
=== RUN   TestAccAWSS3BucketObject_etagEncryption
=== PAUSE TestAccAWSS3BucketObject_etagEncryption
=== RUN   TestAccAWSS3BucketObject_contentBase64
=== PAUSE TestAccAWSS3BucketObject_contentBase64
=== RUN   TestAccAWSS3BucketObject_withContentCharacteristics
=== PAUSE TestAccAWSS3BucketObject_withContentCharacteristics
=== RUN   TestAccAWSS3BucketObject_NonVersioned
=== PAUSE TestAccAWSS3BucketObject_NonVersioned
=== RUN   TestAccAWSS3BucketObject_updates
=== PAUSE TestAccAWSS3BucketObject_updates
=== RUN   TestAccAWSS3BucketObject_updateSameFile
=== PAUSE TestAccAWSS3BucketObject_updateSameFile
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioning
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioning
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== RUN   TestAccAWSS3BucketObject_kms
=== PAUSE TestAccAWSS3BucketObject_kms
=== RUN   TestAccAWSS3BucketObject_sse
=== PAUSE TestAccAWSS3BucketObject_sse
=== RUN   TestAccAWSS3BucketObject_acl
=== PAUSE TestAccAWSS3BucketObject_acl
=== RUN   TestAccAWSS3BucketObject_metadata
=== PAUSE TestAccAWSS3BucketObject_metadata
=== RUN   TestAccAWSS3BucketObject_storageClass
=== PAUSE TestAccAWSS3BucketObject_storageClass
=== RUN   TestAccAWSS3BucketObject_tags
=== PAUSE TestAccAWSS3BucketObject_tags
=== RUN   TestAccAWSS3BucketObject_tagsLeadingSlash
=== PAUSE TestAccAWSS3BucketObject_tagsLeadingSlash
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== RUN   TestAccAWSS3BucketObject_defaultBucketSSE
=== PAUSE TestAccAWSS3BucketObject_defaultBucketSSE
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== RUN   TestAccAWSS3BucketOwnershipControls_basic
=== PAUSE TestAccAWSS3BucketOwnershipControls_basic
=== RUN   TestAccAWSS3BucketOwnershipControls_disappears
=== PAUSE TestAccAWSS3BucketOwnershipControls_disappears
=== RUN   TestAccAWSS3BucketOwnershipControls_disappears_Bucket
=== PAUSE TestAccAWSS3BucketOwnershipControls_disappears_Bucket
=== RUN   TestAccAWSS3BucketOwnershipControls_Rule_ObjectOwnership
=== PAUSE TestAccAWSS3BucketOwnershipControls_Rule_ObjectOwnership
=== RUN   TestAccAWSS3BucketPolicy_basic
=== PAUSE TestAccAWSS3BucketPolicy_basic
=== RUN   TestAccAWSS3BucketPolicy_policyUpdate
=== PAUSE TestAccAWSS3BucketPolicy_policyUpdate
=== RUN   TestAccAWSS3BucketPublicAccessBlock_basic
=== PAUSE TestAccAWSS3BucketPublicAccessBlock_basic
=== RUN   TestAccAWSS3BucketPublicAccessBlock_disappears
=== PAUSE TestAccAWSS3BucketPublicAccessBlock_disappears
=== RUN   TestAccAWSS3BucketPublicAccessBlock_bucketDisappears
=== PAUSE TestAccAWSS3BucketPublicAccessBlock_bucketDisappears
=== RUN   TestAccAWSS3BucketPublicAccessBlock_BlockPublicAcls
=== PAUSE TestAccAWSS3BucketPublicAccessBlock_BlockPublicAcls
=== RUN   TestAccAWSS3BucketPublicAccessBlock_BlockPublicPolicy
=== PAUSE TestAccAWSS3BucketPublicAccessBlock_BlockPublicPolicy
=== RUN   TestAccAWSS3BucketPublicAccessBlock_IgnorePublicAcls
=== PAUSE TestAccAWSS3BucketPublicAccessBlock_IgnorePublicAcls
=== RUN   TestAccAWSS3BucketPublicAccessBlock_RestrictPublicBuckets
=== PAUSE TestAccAWSS3BucketPublicAccessBlock_RestrictPublicBuckets
=== RUN   TestAccAWSS3Bucket_basic
=== PAUSE TestAccAWSS3Bucket_basic
=== RUN   TestAccAWSS3Bucket_Bucket_EmptyString
=== PAUSE TestAccAWSS3Bucket_Bucket_EmptyString
=== RUN   TestAccAWSS3Bucket_tagsWithNoSystemTags
=== PAUSE TestAccAWSS3Bucket_tagsWithNoSystemTags
=== RUN   TestAccAWSS3Bucket_tagsWithSystemTags
=== PAUSE TestAccAWSS3Bucket_tagsWithSystemTags
=== RUN   TestAccAWSS3Bucket_ignoreTags
=== PAUSE TestAccAWSS3Bucket_ignoreTags
=== RUN   TestAccAWSS3Bucket_namePrefix
=== PAUSE TestAccAWSS3Bucket_namePrefix
=== RUN   TestAccAWSS3Bucket_generatedName
=== PAUSE TestAccAWSS3Bucket_generatedName
=== RUN   TestAccAWSS3Bucket_acceleration
=== PAUSE TestAccAWSS3Bucket_acceleration
=== RUN   TestAccAWSS3Bucket_RequestPayer
=== PAUSE TestAccAWSS3Bucket_RequestPayer
=== RUN   TestAccAWSS3Bucket_Policy
=== PAUSE TestAccAWSS3Bucket_Policy
=== RUN   TestAccAWSS3Bucket_UpdateAcl
=== PAUSE TestAccAWSS3Bucket_UpdateAcl
=== RUN   TestAccAWSS3Bucket_UpdateGrant
=== PAUSE TestAccAWSS3Bucket_UpdateGrant
=== RUN   TestAccAWSS3Bucket_AclToGrant
=== PAUSE TestAccAWSS3Bucket_AclToGrant
=== RUN   TestAccAWSS3Bucket_GrantToAcl
=== PAUSE TestAccAWSS3Bucket_GrantToAcl
=== RUN   TestAccAWSS3Bucket_Website_Simple
=== PAUSE TestAccAWSS3Bucket_Website_Simple
=== RUN   TestAccAWSS3Bucket_WebsiteRedirect
=== PAUSE TestAccAWSS3Bucket_WebsiteRedirect
=== RUN   TestAccAWSS3Bucket_WebsiteRoutingRules
=== PAUSE TestAccAWSS3Bucket_WebsiteRoutingRules
=== RUN   TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
=== PAUSE TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
=== RUN   TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
=== PAUSE TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
=== RUN   TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
=== PAUSE TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
=== RUN   TestAccAWSS3Bucket_bucketKeyEnabled
=== PAUSE TestAccAWSS3Bucket_bucketKeyEnabled
=== RUN   TestAccAWSS3Bucket_shouldFailNotFound
=== PAUSE TestAccAWSS3Bucket_shouldFailNotFound
=== RUN   TestAccAWSS3Bucket_Versioning
=== PAUSE TestAccAWSS3Bucket_Versioning
=== RUN   TestAccAWSS3Bucket_Cors_Update
=== PAUSE TestAccAWSS3Bucket_Cors_Update
=== RUN   TestAccAWSS3Bucket_Cors_Delete
=== PAUSE TestAccAWSS3Bucket_Cors_Delete
=== RUN   TestAccAWSS3Bucket_Cors_EmptyOrigin
=== PAUSE TestAccAWSS3Bucket_Cors_EmptyOrigin
=== RUN   TestAccAWSS3Bucket_Logging
=== PAUSE TestAccAWSS3Bucket_Logging
=== RUN   TestAccAWSS3Bucket_LifecycleBasic
=== PAUSE TestAccAWSS3Bucket_LifecycleBasic
=== RUN   TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
=== PAUSE TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
=== RUN   TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
=== PAUSE TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
=== RUN   TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
=== PAUSE TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
=== RUN   TestAccAWSS3Bucket_Replication
=== PAUSE TestAccAWSS3Bucket_Replication
=== RUN   TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
=== PAUSE TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
=== RUN   TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
=== PAUSE TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
=== RUN   TestAccAWSS3Bucket_ReplicationWithoutStorageClass
=== PAUSE TestAccAWSS3Bucket_ReplicationWithoutStorageClass
=== RUN   TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
=== PAUSE TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
=== RUN   TestAccAWSS3Bucket_ReplicationWithoutPrefix
=== PAUSE TestAccAWSS3Bucket_ReplicationWithoutPrefix
=== RUN   TestAccAWSS3Bucket_ReplicationSchemaV2
=== PAUSE TestAccAWSS3Bucket_ReplicationSchemaV2
=== RUN   TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
=== PAUSE TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
=== RUN   TestAccAWSS3Bucket_objectLock
=== PAUSE TestAccAWSS3Bucket_objectLock
=== RUN   TestAccAWSS3Bucket_forceDestroy
=== PAUSE TestAccAWSS3Bucket_forceDestroy
=== RUN   TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
=== PAUSE TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
=== RUN   TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
=== PAUSE TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_basic
=== CONT  TestAccAWSS3BucketOwnershipControls_disappears_Bucket
=== CONT  TestAccAWSS3BucketObject_noNameNoKey
=== CONT  TestAccAWSS3BucketObject_acl
=== CONT  TestAccAWSS3BucketObject_sse
=== CONT  TestAccAWSS3BucketOwnershipControls_disappears
=== CONT  TestAccAWSS3BucketOwnershipControls_basic
=== CONT  TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3BucketObject_defaultBucketSSE
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== CONT  TestAccAWSS3BucketObject_kms
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioning
=== CONT  TestAccAWSS3BucketObject_tagsLeadingSlash
=== CONT  TestAccAWSS3BucketObject_updateSameFile
=== CONT  TestAccAWSS3BucketObject_tags
=== CONT  TestAccAWSS3BucketObject_updates
=== CONT  TestAccAWSS3BucketObject_storageClass
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (6.92s)
2020/12/03 22:48:00 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccAWSS3BucketOwnershipControls_disappears_Bucket (34.73s)
=== CONT  TestAccAWSS3BucketObject_metadata
    TestAccAWSS3BucketObject_ignoreTags: resource_aws_s3_bucket_object_test.go:986: Step 1/2 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
        stdout
        
        
        An execution plan has been generated and is shown below.
        Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_s3_bucket_object.object will be updated in-place
          ~ resource "aws_s3_bucket_object" "object" {
                acl           = "private"
                bucket        = "tf-object-test-bucket-3818638075570841295"
                content       = "stuff"
                content_type  = "binary/octet-stream"
                etag          = "c13d88cb4cb02003daedb8a84e5d272a"
                force_destroy = false
                id            = "test-key"
                key           = "test-key"
                metadata      = {}
                storage_class = "STANDARD"
              ~ tags          = {
                  - "ignorekey1" = "ignorevalue1" -> null
                }
                version_id    = "kh_halIeJ9x2NQgFQRgULEE2Xfj2WGZR"
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- PASS: TestAccAWSS3BucketObject_sse (48.96s)
=== CONT  TestAccAWSS3BucketObject_etagEncryption
--- PASS: TestAccAWSS3BucketOwnershipControls_basic (51.15s)
=== CONT  TestAccAWSS3BucketObject_NonVersioned
    TestAccAWSS3BucketObject_NonVersioned: provider_test.go:1785: skipping tests; TF_ACC_ASSUME_ROLE_ARN must be set
=== CONT  TestAccAWSS3BucketObject_content
--- SKIP: TestAccAWSS3BucketObject_NonVersioned (0.00s)
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_basic (51.29s)
=== CONT  TestAccAWSS3BucketObject_withContentCharacteristics
--- PASS: TestAccAWSS3BucketObject_kms (52.00s)
=== CONT  TestAccAWSS3BucketObject_source
--- FAIL: TestAccAWSS3BucketObject_ignoreTags (53.03s)
=== CONT  TestAccAWSS3BucketObject_contentBase64
2020/12/03 22:48:51 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3BucketOwnershipControls_disappears (77.99s)
=== CONT  TestAccAWSS3BucketObject_empty
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (87.48s)
=== CONT  TestAccAWSS3BucketMetric_WithFilterSingleTag
--- PASS: TestAccAWSS3BucketObject_updateSameFile (87.49s)
=== CONT  TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (89.40s)
=== CONT  TestAccAWSS3BucketInventory_encryptWithSSEKMS
--- PASS: TestAccAWSS3BucketObject_etagEncryption (41.09s)
=== CONT  TestAccAWSS3BucketNotification_update
2020/12/03 22:49:22 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (93.03s)
=== CONT  TestAccAWSS3BucketMetric_WithFilterMultipleTags
--- PASS: TestAccAWSS3BucketObject_content (42.21s)
=== CONT  TestAccAWSS3BucketMetric_WithFilterPrefix
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (42.34s)
=== CONT  TestAccAWSS3BucketNotification_Topic_Multiple
--- PASS: TestAccAWSS3BucketObject_source (41.97s)
=== CONT  TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag
--- PASS: TestAccAWSS3BucketObject_contentBase64 (41.66s)
=== CONT  TestAccAWSS3BucketMetric_WithEmptyFilter
--- PASS: TestAccAWSS3BucketMetric_WithEmptyFilter (1.23s)
=== CONT  TestAccAWSS3BucketNotification_Topic
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (101.57s)
=== CONT  TestAccAWSS3BucketMetric_basic
--- PASS: TestAccAWSS3BucketObject_empty (40.79s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_PrefixAndTags
--- PASS: TestAccAWSS3BucketObject_updates (120.33s)
=== CONT  TestAccAWSS3BucketNotification_Queue
2020/12/03 22:49:54 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (129.75s)
=== CONT  TestAccAWSS3BucketNotification_LambdaFunction
--- PASS: TestAccAWSS3BucketObject_acl (132.81s)
=== CONT  TestAccAWSS3BucketNotification_LambdaFunction_LambdaFunctionArn_Alias
--- PASS: TestAccAWSS3BucketInventory_encryptWithSSEKMS (43.53s)
=== CONT  TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (139.42s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Prefix
--- PASS: TestAccAWSS3BucketMetric_basic (40.44s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_MultipleTags
--- PASS: TestAccAWSS3BucketNotification_Topic (51.52s)
=== CONT  TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
--- PASS: TestAccAWSS3BucketNotification_Topic_Multiple (53.88s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_SingleTag
--- PASS: TestAccAWSS3BucketObject_metadata (118.73s)
=== CONT  TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
2020/12/03 22:50:28 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSS3BucketMetric_WithFilterSingleTag (77.16s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_updateBasic
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefixAndMultipleTags (78.14s)
=== CONT  TestAccAWSS3Bucket_forceDestroy
--- PASS: TestAccAWSS3BucketMetric_WithFilterMultipleTags (77.39s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Empty
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (170.78s)
=== CONT  TestAccAWSS3Bucket_UpdateAcl
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefix (77.58s)
=== CONT  TestAccAWSS3Bucket_WebsiteRoutingRules
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Empty (0.64s)
=== CONT  TestAccAWSS3Bucket_objectLock
--- PASS: TestAccAWSS3BucketObject_tags (171.15s)
=== CONT  TestAccAWSS3Bucket_WebsiteRedirect
2020/12/03 22:50:43 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3BucketMetric_WithFilterPrefixAndSingleTag (77.49s)
=== CONT  TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
--- PASS: TestAccAWSS3BucketNotification_Queue (51.20s)
=== CONT  TestAccAWSS3Bucket_Website_Simple
2020/12/03 22:50:45 [DEBUG] Waiting for state to become: [success]
2020/12/03 22:50:46 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSS3BucketNotification_update (88.89s)
=== CONT  TestAccAWSS3Bucket_ReplicationSchemaV2
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSlash (179.74s)
=== CONT  TestAccAWSS3BucketInventory_encryptWithSSES3
--- PASS: TestAccAWSS3BucketNotification_LambdaFunction (54.66s)
=== CONT  TestAccAWSS3BucketInventory_basic
2020/12/03 22:50:57 [WARN] Truncating attribute path of 0 diagnostics for TypeSet
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical (58.15s)
=== CONT  TestAccAWSS3Bucket_ReplicationWithoutPrefix
--- PASS: TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes (41.74s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Full
--- PASS: TestAccAWSS3BucketNotification_LambdaFunction_LambdaFunctionArn_Alias (62.79s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Default
--- PASS: TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled (48.19s)
=== CONT  TestAccAWSS3Bucket_GrantToAcl
2020/12/03 22:51:09 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_PrefixAndTags (81.49s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Empty
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Empty (0.82s)
=== CONT  TestAccAWSS3Bucket_tagsWithSystemTags
--- PASS: TestAccAWSS3BucketObject_storageClass (197.43s)
=== CONT  TestAccAWSS3Bucket_Policy
2020/12/03 22:51:16 [DEBUG] Waiting for state to become: [success]
2020/12/03 22:51:16 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3Bucket_forceDestroy (42.33s)
=== CONT  TestAccAWSS3Bucket_AclToGrant
2020/12/03 22:51:29 [DEBUG] Waiting for state to become: [success]
2020/12/03 22:51:32 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3BucketInventory_encryptWithSSES3 (42.51s)
=== CONT  TestAccAWSS3Bucket_UpdateGrant
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Prefix (82.92s)
=== CONT  TestAccAWSS3Bucket_generatedName
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_MultipleTags (80.44s)
=== CONT  TestAccAWSS3Bucket_acceleration
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_SingleTag (79.32s)
=== CONT  TestAccAWSS3Bucket_RequestPayer
--- PASS: TestAccAWSS3BucketInventory_basic (43.99s)
=== CONT  TestAccAWSS3BucketPublicAccessBlock_BlockPublicAcls
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Full (42.83s)
=== CONT  TestAccAWSS3Bucket_namePrefix
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithStorageClassAnalysis_Default (44.33s)
=== CONT  TestAccAWSS3Bucket_tagsWithNoSystemTags
--- PASS: TestAccAWSS3Bucket_SameRegionReplicationSchemaV2 (77.50s)
=== CONT  TestAccAWSS3Bucket_ignoreTags
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutPrefix (69.35s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Remove
--- PASS: TestAccAWSS3Bucket_UpdateAcl (91.06s)
=== CONT  TestAccAWSS3BucketPublicAccessBlock_IgnorePublicAcls
2020/12/03 22:52:18 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3Bucket_objectLock (96.67s)
=== CONT  TestAccAWSS3BucketAnalyticsConfiguration_removed
2020/12/03 22:52:20 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSS3Bucket_generatedName (48.47s)
=== CONT  TestAccAWSS3Bucket_Logging
--- PASS: TestAccAWSS3Bucket_WebsiteRoutingRules (100.44s)
=== CONT  TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
2020/12/03 22:52:25 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3Bucket_GrantToAcl (85.57s)
=== CONT  TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
--- PASS: TestAccAWSS3Bucket_namePrefix (46.97s)
=== CONT  TestAccAWSS3BucketPublicAccessBlock_BlockPublicPolicy
--- PASS: TestAccAWSS3Bucket_AclToGrant (82.04s)
=== CONT  TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
--- PASS: TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError (22.26s)
=== CONT  TestAccAWSS3Bucket_Bucket_EmptyString
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_updateBasic (129.32s)
=== CONT  TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
--- PASS: TestAccAWSS3Bucket_WebsiteRedirect (141.14s)
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
--- PASS: TestAccAWSS3Bucket_Website_Simple (143.60s)
=== CONT  TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
--- PASS: TestAccAWSS3Bucket_acceleration (94.30s)
=== CONT  TestAccAWSS3Bucket_Cors_EmptyOrigin
--- PASS: TestAccAWSS3Bucket_RequestPayer (93.96s)
=== CONT  TestAccAWSS3BucketPublicAccessBlock_basic
--- PASS: TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock (37.96s)
=== CONT  TestAccAWSS3Bucket_Cors_Delete
--- PASS: TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration (49.66s)
=== CONT  TestAccAWSS3Bucket_ReplicationWithoutStorageClass
--- PASS: TestAccAWSS3Bucket_ignoreTags (84.50s)
=== CONT  TestAccAWSS3Bucket_Cors_Update
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_WithFilter_Remove (78.65s)
=== CONT  TestAccAWSS3Bucket_Replication
=== CONT  TestAccAWSS3BucketPolicy_basic
--- PASS: TestAccAWSS3BucketAnalyticsConfiguration_removed (73.53s)
--- PASS: TestAccAWSS3Bucket_Logging (71.46s)
=== CONT  TestAccAWSS3Bucket_Versioning
--- PASS: TestAccAWSS3Bucket_Bucket_EmptyString (49.42s)
=== CONT  TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
--- PASS: TestAccAWSS3Bucket_Policy (141.18s)
=== CONT  TestAccAWSS3Bucket_shouldFailNotFound
--- PASS: TestAccAWSS3BucketPublicAccessBlock_BlockPublicAcls (119.29s)
=== CONT  TestAccAWSS3BucketPublicAccessBlock_bucketDisappears
2020/12/03 22:53:54 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3Bucket_Cors_EmptyOrigin (51.12s)
=== CONT  TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
--- PASS: TestAccAWSS3Bucket_UpdateGrant (145.82s)
=== CONT  TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
--- PASS: TestAccAWSS3BucketPublicAccessBlock_basic (47.33s)
=== CONT  TestAccAWSS3BucketPolicy_policyUpdate
--- PASS: TestAccAWSS3Bucket_Cors_Delete (40.55s)
=== CONT  TestAccAWSS3BucketPublicAccessBlock_disappears
2020/12/03 22:54:01 [DEBUG] Waiting for state to become: [success]
2020/12/03 22:54:02 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccAWSS3Bucket_shouldFailNotFound (26.47s)
=== CONT  TestAccAWSS3Bucket_bucketKeyEnabled
2020/12/03 22:54:05 [DEBUG] Trying to get account information via sts:GetCallerIdentity
--- PASS: TestAccAWSS3BucketPublicAccessBlock_IgnorePublicAcls (119.04s)
=== CONT  TestAccAWSS3BucketPublicAccessBlock_RestrictPublicBuckets
2020/12/03 22:54:14 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3Bucket_LifecycleExpireMarkerOnly (95.39s)
=== CONT  TestAccAWSS3BucketOwnershipControls_Rule_ObjectOwnership
--- PASS: TestAccAWSS3BucketPolicy_basic (48.65s)
=== CONT  TestAccAWSS3Bucket_basic
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutStorageClass (72.41s)
--- PASS: TestAccAWSS3BucketPublicAccessBlock_BlockPublicPolicy (120.89s)
--- PASS: TestAccAWSS3BucketPublicAccessBlock_disappears (43.54s)
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed (51.05s)
2020/12/03 22:54:52 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3Bucket_tagsWithNoSystemTags (184.52s)
--- PASS: TestAccAWSS3Bucket_tagsWithSystemTags (226.37s)
--- PASS: TestAccAWSS3Bucket_bucketKeyEnabled (56.92s)
--- PASS: TestAccAWSS3Bucket_Cors_Update (96.99s)
--- PASS: TestAccAWSS3Bucket_ReplicationSchemaV2 (252.48s)
--- PASS: TestAccAWSS3Bucket_basic (48.42s)
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation (130.99s)
--- PASS: TestAccAWSS3Bucket_LifecycleBasic (138.24s)
--- PASS: TestAccAWSS3BucketPolicy_policyUpdate (83.01s)
--- PASS: TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled (92.84s)
--- PASS: TestAccAWSS3BucketOwnershipControls_Rule_ObjectOwnership (78.50s)
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation (130.69s)
--- PASS: TestAccAWSS3Bucket_Versioning (138.02s)
    TestAccAWSS3BucketPublicAccessBlock_bucketDisappears: resource_aws_s3_bucket_public_access_block_test.go:76: Step 1/1 error: Error running post-apply refresh: 
        Error: error getting S3 Bucket (tf-test-bucket-3423184648064820769) ACL: NoSuchBucket: The specified bucket does not exist
        	status code: 404, request id: 264C367D5176609D, host id: He/sneXPerbJiC8xwBoPBo1wC0xpsQ0dbFgnUVDRH6kl3fL9v6S/FwshSthJKmEzyfDoCvL3vJs=
        
        
--- PASS: TestAccAWSS3BucketPublicAccessBlock_RestrictPublicBuckets (113.35s)
--- FAIL: TestAccAWSS3BucketPublicAccessBlock_bucketDisappears (150.91s)
--- PASS: TestAccAWSS3Bucket_Replication (247.73s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	586.987s
FAIL
make: *** [GNUmakefile:28: testacc] Error 1

$ make testacc TESTARGS='-run=TestAccAWSS3BucketObject'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3BucketObject -timeout 120m
=== RUN   TestAccAWSS3BucketObject_noNameNoKey
=== PAUSE TestAccAWSS3BucketObject_noNameNoKey
=== RUN   TestAccAWSS3BucketObject_empty
=== PAUSE TestAccAWSS3BucketObject_empty
=== RUN   TestAccAWSS3BucketObject_source
=== PAUSE TestAccAWSS3BucketObject_source
=== RUN   TestAccAWSS3BucketObject_content
=== PAUSE TestAccAWSS3BucketObject_content
=== RUN   TestAccAWSS3BucketObject_etagEncryption
=== PAUSE TestAccAWSS3BucketObject_etagEncryption
=== RUN   TestAccAWSS3BucketObject_contentBase64
=== PAUSE TestAccAWSS3BucketObject_contentBase64
=== RUN   TestAccAWSS3BucketObject_withContentCharacteristics
=== PAUSE TestAccAWSS3BucketObject_withContentCharacteristics
=== RUN   TestAccAWSS3BucketObject_NonVersioned
=== PAUSE TestAccAWSS3BucketObject_NonVersioned
=== RUN   TestAccAWSS3BucketObject_updates
=== PAUSE TestAccAWSS3BucketObject_updates
=== RUN   TestAccAWSS3BucketObject_updateSameFile
=== PAUSE TestAccAWSS3BucketObject_updateSameFile
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioning
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioning
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== RUN   TestAccAWSS3BucketObject_kms
=== PAUSE TestAccAWSS3BucketObject_kms
=== RUN   TestAccAWSS3BucketObject_sse
=== PAUSE TestAccAWSS3BucketObject_sse
=== RUN   TestAccAWSS3BucketObject_acl
=== PAUSE TestAccAWSS3BucketObject_acl
=== RUN   TestAccAWSS3BucketObject_metadata
=== PAUSE TestAccAWSS3BucketObject_metadata
=== RUN   TestAccAWSS3BucketObject_storageClass
=== PAUSE TestAccAWSS3BucketObject_storageClass
=== RUN   TestAccAWSS3BucketObject_tags
=== PAUSE TestAccAWSS3BucketObject_tags
=== RUN   TestAccAWSS3BucketObject_tagsLeadingSlash
=== PAUSE TestAccAWSS3BucketObject_tagsLeadingSlash
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== RUN   TestAccAWSS3BucketObject_bucketKeyEnabled
=== PAUSE TestAccAWSS3BucketObject_bucketKeyEnabled
=== RUN   TestAccAWSS3BucketObject_defaultBucketSSE
=== PAUSE TestAccAWSS3BucketObject_defaultBucketSSE
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3BucketObject_noNameNoKey
=== CONT  TestAccAWSS3BucketObject_acl
=== CONT  TestAccAWSS3BucketObject_updates
=== CONT  TestAccAWSS3BucketObject_NonVersioned
=== CONT  TestAccAWSS3BucketObject_sse
=== CONT  TestAccAWSS3BucketObject_kms
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioning
=== CONT  TestAccAWSS3BucketObject_updateSameFile
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== CONT  TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3BucketObject_defaultBucketSSE
=== CONT  TestAccAWSS3BucketObject_bucketKeyEnabled
=== CONT  TestAccAWSS3BucketObject_tagsLeadingSlash
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== CONT  TestAccAWSS3BucketObject_etagEncryption
=== CONT  TestAccAWSS3BucketObject_withContentCharacteristics
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== CONT  TestAccAWSS3BucketObject_contentBase64
    TestAccAWSS3BucketObject_NonVersioned: provider_test.go:1785: skipping tests; TF_ACC_ASSUME_ROLE_ARN must be set
--- SKIP: TestAccAWSS3BucketObject_NonVersioned (1.79s)
=== CONT  TestAccAWSS3BucketObject_storageClass
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (5.73s)
=== CONT  TestAccAWSS3BucketObject_tags
    TestAccAWSS3BucketObject_ignoreTags: resource_aws_s3_bucket_object_test.go:1008: Step 1/2 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
        stdout
        
        
        An execution plan has been generated and is shown below.
        Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_s3_bucket_object.object will be updated in-place
          ~ resource "aws_s3_bucket_object" "object" {
                acl                = "private"
                bucket             = "tf-object-test-bucket-2599782128901604921"
                bucket_key_enabled = false
                content            = "stuff"
                content_type       = "binary/octet-stream"
                etag               = "c13d88cb4cb02003daedb8a84e5d272a"
                force_destroy      = false
                id                 = "test-key"
                key                = "test-key"
                metadata           = {}
                storage_class      = "STANDARD"
              ~ tags               = {
                  - "ignorekey1" = "ignorevalue1" -> null
                }
                version_id         = "_SemtQlM0vkyzXkvjmYQjcG8M887xV4m"
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- PASS: TestAccAWSS3BucketObject_etagEncryption (56.01s)
=== CONT  TestAccAWSS3BucketObject_content
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (58.64s)
=== CONT  TestAccAWSS3BucketObject_empty
--- PASS: TestAccAWSS3BucketObject_sse (58.84s)
=== CONT  TestAccAWSS3BucketObject_source
--- PASS: TestAccAWSS3BucketObject_bucketKeyEnabled (59.36s)
=== CONT  TestAccAWSS3BucketObject_metadata
2020/12/05 18:09:49 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3BucketObject_contentBase64 (60.81s)
--- FAIL: TestAccAWSS3BucketObject_ignoreTags (60.98s)
--- PASS: TestAccAWSS3BucketObject_kms (61.04s)
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (66.41s)
2020/12/05 18:10:07 [INFO] AWS Auth provider used: "SharedCredentialsProvider"
--- PASS: TestAccAWSS3BucketObject_updates (98.95s)
--- PASS: TestAccAWSS3BucketObject_content (45.05s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (102.88s)
--- PASS: TestAccAWSS3BucketObject_empty (45.13s)
--- PASS: TestAccAWSS3BucketObject_updateSameFile (105.68s)
--- PASS: TestAccAWSS3BucketObject_source (47.32s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (106.26s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (116.88s)
--- PASS: TestAccAWSS3BucketObject_acl (144.47s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (146.01s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (146.47s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSlash (188.69s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (190.27s)
--- PASS: TestAccAWSS3BucketObject_tags (185.25s)
--- PASS: TestAccAWSS3BucketObject_metadata (140.70s)
--- PASS: TestAccAWSS3BucketObject_storageClass (226.82s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	228.652s
FAIL
make: *** [GNUmakefile:28: testacc] Error 1

All failures look like they're latent to me.

@mattburgess mattburgess requested a review from a team as a code owner December 3, 2020 22:45
@ghost ghost added size/M Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/s3 Issues and PRs that pertain to the s3 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Dec 3, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Dec 3, 2020
@ewbankkit
Copy link
Contributor

@mattburgess Thanks for the contribution.
Can you please make similar changes to the aws_s3_bucket_object data source - aws/data_source_aws_s3_bucket_object.go (plus documentation).

@ewbankkit ewbankkit added waiting-response Maintainers are waiting on response from community or contributor. and removed needs-triage Waiting for first response or review from a maintainer. labels Dec 5, 2020
@ewbankkit
Copy link
Contributor

ewbankkit commented Dec 5, 2020

Ran acceptance tests:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSS3Bucket_\|TestAccAWSS3BucketObject_' ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 3 -run=TestAccAWSS3Bucket_\|TestAccAWSS3BucketObject_ -timeout 120m
=== RUN   TestAccAWSS3BucketObject_noNameNoKey
=== PAUSE TestAccAWSS3BucketObject_noNameNoKey
=== RUN   TestAccAWSS3BucketObject_empty
=== PAUSE TestAccAWSS3BucketObject_empty
=== RUN   TestAccAWSS3BucketObject_source
=== PAUSE TestAccAWSS3BucketObject_source
=== RUN   TestAccAWSS3BucketObject_content
=== PAUSE TestAccAWSS3BucketObject_content
=== RUN   TestAccAWSS3BucketObject_etagEncryption
=== PAUSE TestAccAWSS3BucketObject_etagEncryption
=== RUN   TestAccAWSS3BucketObject_contentBase64
=== PAUSE TestAccAWSS3BucketObject_contentBase64
=== RUN   TestAccAWSS3BucketObject_withContentCharacteristics
=== PAUSE TestAccAWSS3BucketObject_withContentCharacteristics
=== RUN   TestAccAWSS3BucketObject_NonVersioned
=== PAUSE TestAccAWSS3BucketObject_NonVersioned
=== RUN   TestAccAWSS3BucketObject_updates
=== PAUSE TestAccAWSS3BucketObject_updates
=== RUN   TestAccAWSS3BucketObject_updateSameFile
=== PAUSE TestAccAWSS3BucketObject_updateSameFile
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioning
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioning
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== RUN   TestAccAWSS3BucketObject_kms
=== PAUSE TestAccAWSS3BucketObject_kms
=== RUN   TestAccAWSS3BucketObject_sse
=== PAUSE TestAccAWSS3BucketObject_sse
=== RUN   TestAccAWSS3BucketObject_acl
=== PAUSE TestAccAWSS3BucketObject_acl
=== RUN   TestAccAWSS3BucketObject_metadata
=== PAUSE TestAccAWSS3BucketObject_metadata
=== RUN   TestAccAWSS3BucketObject_storageClass
=== PAUSE TestAccAWSS3BucketObject_storageClass
=== RUN   TestAccAWSS3BucketObject_tags
=== PAUSE TestAccAWSS3BucketObject_tags
=== RUN   TestAccAWSS3BucketObject_tagsLeadingSlash
=== PAUSE TestAccAWSS3BucketObject_tagsLeadingSlash
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== RUN   TestAccAWSS3BucketObject_bucketKeyEnabled
=== PAUSE TestAccAWSS3BucketObject_bucketKeyEnabled
=== RUN   TestAccAWSS3BucketObject_defaultBucketSSE
=== PAUSE TestAccAWSS3BucketObject_defaultBucketSSE
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== RUN   TestAccAWSS3Bucket_basic
=== PAUSE TestAccAWSS3Bucket_basic
=== RUN   TestAccAWSS3Bucket_Bucket_EmptyString
=== PAUSE TestAccAWSS3Bucket_Bucket_EmptyString
=== RUN   TestAccAWSS3Bucket_tagsWithNoSystemTags
=== PAUSE TestAccAWSS3Bucket_tagsWithNoSystemTags
=== RUN   TestAccAWSS3Bucket_tagsWithSystemTags
=== PAUSE TestAccAWSS3Bucket_tagsWithSystemTags
=== RUN   TestAccAWSS3Bucket_ignoreTags
=== PAUSE TestAccAWSS3Bucket_ignoreTags
=== RUN   TestAccAWSS3Bucket_namePrefix
=== PAUSE TestAccAWSS3Bucket_namePrefix
=== RUN   TestAccAWSS3Bucket_generatedName
=== PAUSE TestAccAWSS3Bucket_generatedName
=== RUN   TestAccAWSS3Bucket_acceleration
=== PAUSE TestAccAWSS3Bucket_acceleration
=== RUN   TestAccAWSS3Bucket_RequestPayer
=== PAUSE TestAccAWSS3Bucket_RequestPayer
=== RUN   TestAccAWSS3Bucket_Policy
=== PAUSE TestAccAWSS3Bucket_Policy
=== RUN   TestAccAWSS3Bucket_UpdateAcl
=== PAUSE TestAccAWSS3Bucket_UpdateAcl
=== RUN   TestAccAWSS3Bucket_UpdateGrant
=== PAUSE TestAccAWSS3Bucket_UpdateGrant
=== RUN   TestAccAWSS3Bucket_AclToGrant
=== PAUSE TestAccAWSS3Bucket_AclToGrant
=== RUN   TestAccAWSS3Bucket_GrantToAcl
=== PAUSE TestAccAWSS3Bucket_GrantToAcl
=== RUN   TestAccAWSS3Bucket_Website_Simple
=== PAUSE TestAccAWSS3Bucket_Website_Simple
=== RUN   TestAccAWSS3Bucket_WebsiteRedirect
=== PAUSE TestAccAWSS3Bucket_WebsiteRedirect
=== RUN   TestAccAWSS3Bucket_WebsiteRoutingRules
=== PAUSE TestAccAWSS3Bucket_WebsiteRoutingRules
=== RUN   TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
=== PAUSE TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
=== RUN   TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
=== PAUSE TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
=== RUN   TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
=== PAUSE TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
=== RUN   TestAccAWSS3Bucket_bucketKeyEnabled
=== PAUSE TestAccAWSS3Bucket_bucketKeyEnabled
=== RUN   TestAccAWSS3Bucket_shouldFailNotFound
=== PAUSE TestAccAWSS3Bucket_shouldFailNotFound
=== RUN   TestAccAWSS3Bucket_Versioning
=== PAUSE TestAccAWSS3Bucket_Versioning
=== RUN   TestAccAWSS3Bucket_Cors_Update
=== PAUSE TestAccAWSS3Bucket_Cors_Update
=== RUN   TestAccAWSS3Bucket_Cors_Delete
=== PAUSE TestAccAWSS3Bucket_Cors_Delete
=== RUN   TestAccAWSS3Bucket_Cors_EmptyOrigin
=== PAUSE TestAccAWSS3Bucket_Cors_EmptyOrigin
=== RUN   TestAccAWSS3Bucket_Logging
=== PAUSE TestAccAWSS3Bucket_Logging
=== RUN   TestAccAWSS3Bucket_LifecycleBasic
=== PAUSE TestAccAWSS3Bucket_LifecycleBasic
=== RUN   TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
=== PAUSE TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
=== RUN   TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
=== PAUSE TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
=== RUN   TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
=== PAUSE TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
=== RUN   TestAccAWSS3Bucket_Replication
=== PAUSE TestAccAWSS3Bucket_Replication
=== RUN   TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
=== PAUSE TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
=== RUN   TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
=== PAUSE TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
=== RUN   TestAccAWSS3Bucket_ReplicationWithoutStorageClass
=== PAUSE TestAccAWSS3Bucket_ReplicationWithoutStorageClass
=== RUN   TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
=== PAUSE TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
=== RUN   TestAccAWSS3Bucket_ReplicationWithoutPrefix
=== PAUSE TestAccAWSS3Bucket_ReplicationWithoutPrefix
=== RUN   TestAccAWSS3Bucket_ReplicationSchemaV2
=== PAUSE TestAccAWSS3Bucket_ReplicationSchemaV2
=== RUN   TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
=== PAUSE TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
=== RUN   TestAccAWSS3Bucket_objectLock
=== PAUSE TestAccAWSS3Bucket_objectLock
=== RUN   TestAccAWSS3Bucket_forceDestroy
=== PAUSE TestAccAWSS3Bucket_forceDestroy
=== RUN   TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
=== PAUSE TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
=== RUN   TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
=== PAUSE TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
=== CONT  TestAccAWSS3BucketObject_noNameNoKey
=== CONT  TestAccAWSS3Bucket_UpdateAcl
=== CONT  TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (2.87s)
=== CONT  TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
--- PASS: TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes (23.08s)
=== CONT  TestAccAWSS3Bucket_forceDestroy
--- PASS: TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled (28.69s)
=== CONT  TestAccAWSS3Bucket_objectLock
--- PASS: TestAccAWSS3Bucket_forceDestroy (22.79s)
=== CONT  TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
--- PASS: TestAccAWSS3Bucket_UpdateAcl (50.36s)
=== CONT  TestAccAWSS3Bucket_ReplicationSchemaV2
--- PASS: TestAccAWSS3Bucket_objectLock (50.98s)
=== CONT  TestAccAWSS3Bucket_ReplicationWithoutPrefix
--- PASS: TestAccAWSS3Bucket_SameRegionReplicationSchemaV2 (44.55s)
=== CONT  TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
--- PASS: TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError (11.31s)
=== CONT  TestAccAWSS3Bucket_ReplicationWithoutStorageClass
2020/12/05 18:02:38 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutPrefix (38.56s)
=== CONT  TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutStorageClass (36.81s)
=== CONT  TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
--- PASS: TestAccAWSS3Bucket_ReplicationSchemaV2 (126.35s)
=== CONT  TestAccAWSS3Bucket_Replication
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation (68.66s)
=== CONT  TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation (65.56s)
=== CONT  TestAccAWSS3Bucket_generatedName
--- PASS: TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration (28.45s)
=== CONT  TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
--- PASS: TestAccAWSS3Bucket_generatedName (28.14s)
=== CONT  TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
--- PASS: TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock (23.30s)
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
    resource_aws_s3_bucket_test.go:1271: Step 3/4 error: Check failed: Check 5/14 error: aws_s3_bucket.bucket: Attribute 'lifecycle_rule.0.noncurrent_version_expiration.0.days' not found
--- FAIL: TestAccAWSS3Bucket_LifecycleBasic (42.14s)
=== CONT  TestAccAWSS3Bucket_Logging
--- PASS: TestAccAWSS3Bucket_LifecycleExpireMarkerOnly (53.08s)
=== CONT  TestAccAWSS3Bucket_Cors_EmptyOrigin
--- PASS: TestAccAWSS3Bucket_Replication (120.40s)
=== CONT  TestAccAWSS3Bucket_Cors_Delete
--- PASS: TestAccAWSS3Bucket_Cors_EmptyOrigin (27.76s)
=== CONT  TestAccAWSS3Bucket_Cors_Update
--- PASS: TestAccAWSS3Bucket_Cors_Delete (22.70s)
=== CONT  TestAccAWSS3Bucket_Versioning
--- PASS: TestAccAWSS3Bucket_Logging (40.26s)
=== CONT  TestAccAWSS3Bucket_shouldFailNotFound
--- PASS: TestAccAWSS3Bucket_shouldFailNotFound (13.73s)
=== CONT  TestAccAWSS3Bucket_bucketKeyEnabled
--- PASS: TestAccAWSS3Bucket_bucketKeyEnabled (30.83s)
=== CONT  TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
--- PASS: TestAccAWSS3Bucket_Cors_Update (52.94s)
=== CONT  TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
--- PASS: TestAccAWSS3Bucket_Versioning (75.85s)
=== CONT  TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed (26.99s)
=== CONT  TestAccAWSS3Bucket_WebsiteRoutingRules
--- PASS: TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled (51.60s)
=== CONT  TestAccAWSS3Bucket_WebsiteRedirect
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical (32.66s)
=== CONT  TestAccAWSS3Bucket_Website_Simple
--- PASS: TestAccAWSS3Bucket_WebsiteRoutingRules (57.30s)
=== CONT  TestAccAWSS3Bucket_GrantToAcl
--- PASS: TestAccAWSS3Bucket_WebsiteRedirect (75.49s)
=== CONT  TestAccAWSS3Bucket_AclToGrant
--- PASS: TestAccAWSS3Bucket_GrantToAcl (46.49s)
=== CONT  TestAccAWSS3Bucket_UpdateGrant
--- PASS: TestAccAWSS3Bucket_Website_Simple (74.38s)
=== CONT  TestAccAWSS3Bucket_Policy
--- PASS: TestAccAWSS3Bucket_AclToGrant (46.08s)
=== CONT  TestAccAWSS3Bucket_RequestPayer
--- PASS: TestAccAWSS3Bucket_Policy (77.64s)
=== CONT  TestAccAWSS3Bucket_acceleration
--- PASS: TestAccAWSS3Bucket_UpdateGrant (81.63s)
=== CONT  TestAccAWSS3Bucket_namePrefix
--- PASS: TestAccAWSS3Bucket_RequestPayer (51.27s)
=== CONT  TestAccAWSS3Bucket_ignoreTags
=== CONT  TestAccAWSS3Bucket_tagsWithSystemTags
--- PASS: TestAccAWSS3Bucket_namePrefix (27.03s)
--- PASS: TestAccAWSS3Bucket_acceleration (53.35s)
=== CONT  TestAccAWSS3Bucket_tagsWithNoSystemTags
--- PASS: TestAccAWSS3Bucket_ignoreTags (46.61s)
=== CONT  TestAccAWSS3Bucket_Bucket_EmptyString
--- PASS: TestAccAWSS3Bucket_Bucket_EmptyString (27.27s)
=== CONT  TestAccAWSS3Bucket_basic
=== CONT  TestAccAWSS3BucketObject_ignoreTags
--- PASS: TestAccAWSS3Bucket_basic (27.07s)
=== CONT  TestAccAWSS3BucketObject_ignoreTags
    resource_aws_s3_bucket_object_test.go:1008: Step 1/2 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
        stdout
        
        
        An execution plan has been generated and is shown below.
        Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_s3_bucket_object.object will be updated in-place
          ~ resource "aws_s3_bucket_object" "object" {
                acl                = "private"
                bucket             = "tf-object-test-bucket-8337720210868131439"
                bucket_key_enabled = false
                content            = "stuff"
                content_type       = "binary/octet-stream"
                etag               = "c13d88cb4cb02003daedb8a84e5d272a"
                force_destroy      = false
                id                 = "test-key"
                key                = "test-key"
                metadata           = {}
                storage_class      = "STANDARD"
              ~ tags               = {
                  - "ignorekey1" = "ignorevalue1" -> null
                }
                version_id         = "WtLzAXLIAW6NxwJ2BixodtU9vwESz34U"
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccAWSS3BucketObject_ignoreTags (25.03s)
=== CONT  TestAccAWSS3BucketObject_defaultBucketSSE
--- PASS: TestAccAWSS3Bucket_tagsWithNoSystemTags (101.09s)
=== CONT  TestAccAWSS3BucketObject_bucketKeyEnabled
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (28.23s)
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
--- PASS: TestAccAWSS3Bucket_tagsWithSystemTags (140.54s)
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
--- PASS: TestAccAWSS3BucketObject_bucketKeyEnabled (24.06s)
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (44.91s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (65.94s)
=== CONT  TestAccAWSS3BucketObject_tagsLeadingSlash
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (87.14s)
=== CONT  TestAccAWSS3BucketObject_tags
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (68.11s)
=== CONT  TestAccAWSS3BucketObject_storageClass
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSlash (87.25s)
=== CONT  TestAccAWSS3BucketObject_metadata
--- PASS: TestAccAWSS3BucketObject_tags (87.69s)
=== CONT  TestAccAWSS3BucketObject_acl
2020/12/05 18:16:27 [DEBUG] Waiting for state to become: [success]
--- PASS: TestAccAWSS3BucketObject_metadata (65.04s)
=== CONT  TestAccAWSS3BucketObject_sse
--- PASS: TestAccAWSS3BucketObject_storageClass (106.81s)
=== CONT  TestAccAWSS3BucketObject_kms
--- PASS: TestAccAWSS3BucketObject_acl (67.07s)
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioning
--- PASS: TestAccAWSS3BucketObject_sse (23.09s)
--- PASS: TestAccAWSS3BucketObject_kms (25.60s)
=== CONT  TestAccAWSS3BucketObject_updateSameFile
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (46.64s)
=== CONT  TestAccAWSS3BucketObject_updates
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (51.72s)
=== CONT  TestAccAWSS3BucketObject_NonVersioned
    provider_test.go:1785: skipping tests; TF_ACC_ASSUME_ROLE_ARN must be set
--- SKIP: TestAccAWSS3BucketObject_NonVersioned (0.00s)
=== CONT  TestAccAWSS3BucketObject_withContentCharacteristics
--- PASS: TestAccAWSS3BucketObject_updateSameFile (44.57s)
=== CONT  TestAccAWSS3BucketObject_contentBase64
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (23.14s)
=== CONT  TestAccAWSS3BucketObject_etagEncryption
--- PASS: TestAccAWSS3BucketObject_contentBase64 (23.64s)
=== CONT  TestAccAWSS3BucketObject_content
--- PASS: TestAccAWSS3BucketObject_updates (44.71s)
=== CONT  TestAccAWSS3BucketObject_source
--- PASS: TestAccAWSS3BucketObject_etagEncryption (23.09s)
=== CONT  TestAccAWSS3BucketObject_empty
--- PASS: TestAccAWSS3BucketObject_content (22.89s)
--- PASS: TestAccAWSS3BucketObject_source (22.48s)
--- PASS: TestAccAWSS3BucketObject_empty (22.90s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	1107.473s
FAIL
GNUmakefile:27: recipe for target 'testacc' failed
make: *** [testacc] Error 1

I'll investigate the failures, especially the TestAccAWSS3BucketObject_ignoreTags one we both got...

@ghost ghost added size/L Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Dec 6, 2020
@mattburgess
Copy link
Collaborator Author

Thanks for the review @ewbankkit - the datasource is covered now. The acceptance tests for that are even worse though :( All the tests prior to TestAccDataSourceAWSS3BucketObject_basicViaAccessPoint fail with:

Step 1/1 error: Error running pre-apply plan: 
        Error: Failed getting S3 object: NotFound: Not Found

It looks like a timing issue, almost like the object creation API hasn't been waited on at all/for long enough. I'm taking a look to see if I can figure out what's going on with those.

@ghost ghost removed the waiting-response Maintainers are waiting on response from community or contributor. label Dec 6, 2020
@ewbankkit
Copy link
Contributor

ewbankkit commented Dec 6, 2020

Yes, definitely something weird going on here.
On master:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSS3BucketObject_ignoreTags'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3BucketObject_ignoreTags -timeout 120m
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3BucketObject_ignoreTags
--- PASS: TestAccAWSS3BucketObject_ignoreTags (46.54s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	46.627s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSS3Bucket_LifecycleBasic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3Bucket_LifecycleBasic -timeout 120m
=== RUN   TestAccAWSS3Bucket_LifecycleBasic
=== PAUSE TestAccAWSS3Bucket_LifecycleBasic
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
--- PASS: TestAccAWSS3Bucket_LifecycleBasic (74.95s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	75.036s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSS3Bucket_LifecycleBasic\|TestAccAWSS3BucketObject_ignoreTags'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3Bucket_LifecycleBasic\|TestAccAWSS3BucketObject_ignoreTags -timeout 120m
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== RUN   TestAccAWSS3Bucket_LifecycleBasic
=== PAUSE TestAccAWSS3Bucket_LifecycleBasic
=== CONT  TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
=== CONT  TestAccAWSS3BucketObject_ignoreTags
    resource_aws_s3_bucket_object_test.go:986: Step 1/2 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
        stdout
        
        
        An execution plan has been generated and is shown below.
        Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_s3_bucket_object.object will be updated in-place
          ~ resource "aws_s3_bucket_object" "object" {
                acl           = "private"
                bucket        = "tf-object-test-bucket-5373189707280510230"
                content       = "stuff"
                content_type  = "binary/octet-stream"
                etag          = "c13d88cb4cb02003daedb8a84e5d272a"
                force_destroy = false
                id            = "test-key"
                key           = "test-key"
                metadata      = {}
                storage_class = "STANDARD"
              ~ tags          = {
                  - "ignorekey1" = "ignorevalue1" -> null
                }
                version_id    = "XcSYGe3axWoSxPu7lAAgdASZ9b7MFIyw"
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccAWSS3BucketObject_ignoreTags (26.71s)
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
    resource_aws_s3_bucket_test.go:1240: Step 3/4 error: Check failed: Check 5/14 error: aws_s3_bucket.bucket: Attribute 'lifecycle_rule.0.noncurrent_version_expiration.0.days' not found
--- FAIL: TestAccAWSS3Bucket_LifecycleBasic (45.03s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	45.126s
FAIL
GNUmakefile:27: recipe for target 'testacc' failed
make: *** [testacc] Error 1

On your branch:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSS3Bucket_LifecycleBasic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3Bucket_LifecycleBasic -timeout 120m
=== RUN   TestAccAWSS3Bucket_LifecycleBasic
=== PAUSE TestAccAWSS3Bucket_LifecycleBasic
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
--- PASS: TestAccAWSS3Bucket_LifecycleBasic (76.00s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	76.056s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSS3BucketObject_ignoreTags'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3BucketObject_ignoreTags -timeout 120m
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3BucketObject_ignoreTags
--- PASS: TestAccAWSS3BucketObject_ignoreTags (46.60s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	46.653s
$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSS3Bucket_LifecycleBasic\|TestAccAWSS3BucketObject_ignoreTags'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3Bucket_LifecycleBasic\|TestAccAWSS3BucketObject_ignoreTags -timeout 120m
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== RUN   TestAccAWSS3Bucket_LifecycleBasic
=== PAUSE TestAccAWSS3Bucket_LifecycleBasic
=== CONT  TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
=== CONT  TestAccAWSS3BucketObject_ignoreTags
    resource_aws_s3_bucket_object_test.go:1008: Step 1/2 error: After applying this test step and performing a `terraform refresh`, the plan was not empty.
        stdout
        
        
        An execution plan has been generated and is shown below.
        Resource actions are indicated with the following symbols:
          ~ update in-place
        
        Terraform will perform the following actions:
        
          # aws_s3_bucket_object.object will be updated in-place
          ~ resource "aws_s3_bucket_object" "object" {
                acl                = "private"
                bucket             = "tf-object-test-bucket-5434405205003282873"
                bucket_key_enabled = false
                content            = "stuff"
                content_type       = "binary/octet-stream"
                etag               = "c13d88cb4cb02003daedb8a84e5d272a"
                force_destroy      = false
                id                 = "test-key"
                key                = "test-key"
                metadata           = {}
                storage_class      = "STANDARD"
              ~ tags               = {
                  - "ignorekey1" = "ignorevalue1" -> null
                }
                version_id         = "NMQrW6U3UgBtohUqJ3AsgKaE0mg1irgs"
            }
        
        Plan: 0 to add, 1 to change, 0 to destroy.
--- FAIL: TestAccAWSS3BucketObject_ignoreTags (26.41s)
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
    resource_aws_s3_bucket_test.go:1271: Step 3/4 error: Check failed: Check 5/14 error: aws_s3_bucket.bucket: Attribute 'lifecycle_rule.0.noncurrent_version_expiration.0.days' not found
--- FAIL: TestAccAWSS3Bucket_LifecycleBasic (43.94s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	43.996s
FAIL
GNUmakefile:27: recipe for target 'testacc' failed
make: *** [testacc] Error 1

Tests run in parallel are failing.

Base automatically changed from master to main January 23, 2021 00:59
@aperagalloc
Copy link

Hello @mattburgess and @ewbankkit , is there an ETA for this to be merged? We would really like this to be available in TF.
Thanks.

@mattburgess
Copy link
Collaborator Author

is there an ETA for this to be merged? We would really like this to be available in TF.

@aperagalloc I'm just a contributor so can't provide an ETA on when this might be merged. I've just rebased this PR against the latest main branch and re-run the acceptance tests. They seem to be a lot less flaky now, giving me and the maintainers more confidence that this PR is OK to merge. I also don't know of any outstanding PR comments, so hopefully this will get merged just as soon as the feature bubbles up the priority list.

@tdrimmelen

This comment has been minimized.

3 similar comments
@viktorijavalsoe

This comment has been minimized.

@askaribragimov

This comment has been minimized.

@aperagalloc

This comment has been minimized.

@aperagalloc
Copy link

aperagalloc commented Feb 18, 2021

For now, I had implemented this hack to move forward.

resource "null_resource" "s3_bucket_sse_config" {
  depends_on = [aws_s3_bucket.s3_bucket]
  triggers = {
    s3_bucket = aws_s3_bucket.s3_bucket.id
  }

  provisioner "local-exec" {
    command = "aws s3api put-bucket-encryption --bucket  --server-side-encryption-configuration '{\"Rules\": [{\"ApplyServerSideEncryptionByDefault\":{\"SSEAlgorithm\": \"aws:kms\",\"KMSMasterKeyID\":\"${aws_kms_key.kms_key.arn}\"},\"BucketKeyEnabled\": true}]}'"
  }
}

@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label Mar 31, 2021
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mattburgess 👋 Thank you for your work on this. Overall, this is looking good. Just one definite fix and question about what happens when the Bucket has this enabled but the Object doesn't. Cheers!

aws/data_source_aws_s3_bucket_object.go Outdated Show resolved Hide resolved
aws/resource_aws_s3_bucket_object.go Outdated Show resolved Hide resolved
@bflad bflad self-assigned this Mar 31, 2021
@bflad bflad added the waiting-response Maintainers are waiting on response from community or contributor. label Mar 31, 2021
@bflad bflad linked an issue Mar 31, 2021 that may be closed by this pull request
@mattburgess
Copy link
Collaborator Author

FYI, all tests passing nicely now:

$ make testacc TESTARGS='-run=TestAccAWSS3Bucket_\|TestAccAWSS3BucketObject_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSS3Bucket_\|TestAccAWSS3BucketObject_ -timeout 180m
=== RUN   TestAccAWSS3BucketObject_noNameNoKey
=== PAUSE TestAccAWSS3BucketObject_noNameNoKey
=== RUN   TestAccAWSS3BucketObject_empty
=== PAUSE TestAccAWSS3BucketObject_empty
=== RUN   TestAccAWSS3BucketObject_source
=== PAUSE TestAccAWSS3BucketObject_source
=== RUN   TestAccAWSS3BucketObject_content
=== PAUSE TestAccAWSS3BucketObject_content
=== RUN   TestAccAWSS3BucketObject_etagEncryption
=== PAUSE TestAccAWSS3BucketObject_etagEncryption
=== RUN   TestAccAWSS3BucketObject_contentBase64
=== PAUSE TestAccAWSS3BucketObject_contentBase64
=== RUN   TestAccAWSS3BucketObject_withContentCharacteristics
=== PAUSE TestAccAWSS3BucketObject_withContentCharacteristics
=== RUN   TestAccAWSS3BucketObject_NonVersioned
=== PAUSE TestAccAWSS3BucketObject_NonVersioned
=== RUN   TestAccAWSS3BucketObject_updates
=== PAUSE TestAccAWSS3BucketObject_updates
=== RUN   TestAccAWSS3BucketObject_updateSameFile
=== PAUSE TestAccAWSS3BucketObject_updateSameFile
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioning
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioning
=== RUN   TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== PAUSE TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
=== RUN   TestAccAWSS3BucketObject_kms
=== PAUSE TestAccAWSS3BucketObject_kms
=== RUN   TestAccAWSS3BucketObject_sse
=== PAUSE TestAccAWSS3BucketObject_sse
=== RUN   TestAccAWSS3BucketObject_acl
=== PAUSE TestAccAWSS3BucketObject_acl
=== RUN   TestAccAWSS3BucketObject_metadata
=== PAUSE TestAccAWSS3BucketObject_metadata
=== RUN   TestAccAWSS3BucketObject_storageClass
=== PAUSE TestAccAWSS3BucketObject_storageClass
=== RUN   TestAccAWSS3BucketObject_tags
=== PAUSE TestAccAWSS3BucketObject_tags
=== RUN   TestAccAWSS3BucketObject_tagsLeadingSingleSlash
=== PAUSE TestAccAWSS3BucketObject_tagsLeadingSingleSlash
=== RUN   TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes
=== PAUSE TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes
=== RUN   TestAccAWSS3BucketObject_tagsMultipleSlashes
=== PAUSE TestAccAWSS3BucketObject_tagsMultipleSlashes
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== PAUSE TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== RUN   TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== PAUSE TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== RUN   TestAccAWSS3BucketObject_objectBucketKeyEnabled
=== PAUSE TestAccAWSS3BucketObject_objectBucketKeyEnabled
=== RUN   TestAccAWSS3BucketObject_bucketBucketKeyEnabled
=== PAUSE TestAccAWSS3BucketObject_bucketBucketKeyEnabled
=== RUN   TestAccAWSS3BucketObject_defaultBucketSSE
=== PAUSE TestAccAWSS3BucketObject_defaultBucketSSE
=== RUN   TestAccAWSS3BucketObject_ignoreTags
=== PAUSE TestAccAWSS3BucketObject_ignoreTags
=== RUN   TestAccAWSS3Bucket_basic
=== PAUSE TestAccAWSS3Bucket_basic
=== RUN   TestAccAWSS3Bucket_Bucket_EmptyString
=== PAUSE TestAccAWSS3Bucket_Bucket_EmptyString
=== RUN   TestAccAWSS3Bucket_tagsWithNoSystemTags
=== PAUSE TestAccAWSS3Bucket_tagsWithNoSystemTags
=== RUN   TestAccAWSS3Bucket_tagsWithSystemTags
=== PAUSE TestAccAWSS3Bucket_tagsWithSystemTags
=== RUN   TestAccAWSS3Bucket_ignoreTags
=== PAUSE TestAccAWSS3Bucket_ignoreTags
=== RUN   TestAccAWSS3Bucket_namePrefix
=== PAUSE TestAccAWSS3Bucket_namePrefix
=== RUN   TestAccAWSS3Bucket_generatedName
=== PAUSE TestAccAWSS3Bucket_generatedName
=== RUN   TestAccAWSS3Bucket_acceleration
=== PAUSE TestAccAWSS3Bucket_acceleration
=== RUN   TestAccAWSS3Bucket_RequestPayer
=== PAUSE TestAccAWSS3Bucket_RequestPayer
=== RUN   TestAccAWSS3Bucket_Policy
=== PAUSE TestAccAWSS3Bucket_Policy
=== RUN   TestAccAWSS3Bucket_UpdateAcl
=== PAUSE TestAccAWSS3Bucket_UpdateAcl
=== RUN   TestAccAWSS3Bucket_UpdateGrant
=== PAUSE TestAccAWSS3Bucket_UpdateGrant
=== RUN   TestAccAWSS3Bucket_AclToGrant
=== PAUSE TestAccAWSS3Bucket_AclToGrant
=== RUN   TestAccAWSS3Bucket_GrantToAcl
=== PAUSE TestAccAWSS3Bucket_GrantToAcl
=== RUN   TestAccAWSS3Bucket_Website_Simple
=== PAUSE TestAccAWSS3Bucket_Website_Simple
=== RUN   TestAccAWSS3Bucket_WebsiteRedirect
=== PAUSE TestAccAWSS3Bucket_WebsiteRedirect
=== RUN   TestAccAWSS3Bucket_WebsiteRoutingRules
=== PAUSE TestAccAWSS3Bucket_WebsiteRoutingRules
=== RUN   TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
=== PAUSE TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
=== RUN   TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
=== PAUSE TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
=== RUN   TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
=== PAUSE TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
=== RUN   TestAccAWSS3Bucket_bucketKeyEnabled
=== PAUSE TestAccAWSS3Bucket_bucketKeyEnabled
=== RUN   TestAccAWSS3Bucket_shouldFailNotFound
=== PAUSE TestAccAWSS3Bucket_shouldFailNotFound
=== RUN   TestAccAWSS3Bucket_Versioning
=== PAUSE TestAccAWSS3Bucket_Versioning
=== RUN   TestAccAWSS3Bucket_Cors_Update
=== PAUSE TestAccAWSS3Bucket_Cors_Update
=== RUN   TestAccAWSS3Bucket_Cors_Delete
=== PAUSE TestAccAWSS3Bucket_Cors_Delete
=== RUN   TestAccAWSS3Bucket_Cors_EmptyOrigin
=== PAUSE TestAccAWSS3Bucket_Cors_EmptyOrigin
=== RUN   TestAccAWSS3Bucket_Logging
=== PAUSE TestAccAWSS3Bucket_Logging
=== RUN   TestAccAWSS3Bucket_LifecycleBasic
=== PAUSE TestAccAWSS3Bucket_LifecycleBasic
=== RUN   TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
=== PAUSE TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
=== RUN   TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
=== PAUSE TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
=== RUN   TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
=== PAUSE TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
=== RUN   TestAccAWSS3Bucket_Replication
=== PAUSE TestAccAWSS3Bucket_Replication
=== RUN   TestAccAWSS3Bucket_Replication_MultipleDestinations_EmptyFilter
=== PAUSE TestAccAWSS3Bucket_Replication_MultipleDestinations_EmptyFilter
=== RUN   TestAccAWSS3Bucket_Replication_MultipleDestinations_NonEmptyFilter
=== PAUSE TestAccAWSS3Bucket_Replication_MultipleDestinations_NonEmptyFilter
=== RUN   TestAccAWSS3Bucket_Replication_MultipleDestinations_TwoDestination
=== PAUSE TestAccAWSS3Bucket_Replication_MultipleDestinations_TwoDestination
=== RUN   TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
=== PAUSE TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
=== RUN   TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
=== PAUSE TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
=== RUN   TestAccAWSS3Bucket_ReplicationWithoutStorageClass
=== PAUSE TestAccAWSS3Bucket_ReplicationWithoutStorageClass
=== RUN   TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
=== PAUSE TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
=== RUN   TestAccAWSS3Bucket_ReplicationWithoutPrefix
=== PAUSE TestAccAWSS3Bucket_ReplicationWithoutPrefix
=== RUN   TestAccAWSS3Bucket_ReplicationSchemaV2
=== PAUSE TestAccAWSS3Bucket_ReplicationSchemaV2
=== RUN   TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
=== PAUSE TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
=== RUN   TestAccAWSS3Bucket_objectLock
=== PAUSE TestAccAWSS3Bucket_objectLock
=== RUN   TestAccAWSS3Bucket_forceDestroy
=== PAUSE TestAccAWSS3Bucket_forceDestroy
=== RUN   TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
=== PAUSE TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
=== RUN   TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
=== PAUSE TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
=== CONT  TestAccAWSS3BucketObject_noNameNoKey
=== CONT  TestAccAWSS3Bucket_Policy
=== CONT  TestAccAWSS3BucketObject_tagsMultipleSlashes
=== CONT  TestAccAWSS3Bucket_RequestPayer
=== CONT  TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes
=== CONT  TestAccAWSS3BucketObject_ignoreTags
=== CONT  TestAccAWSS3BucketObject_defaultBucketSSE
=== CONT  TestAccAWSS3BucketObject_bucketBucketKeyEnabled
=== CONT  TestAccAWSS3BucketObject_objectBucketKeyEnabled
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet
=== CONT  TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn
=== CONT  TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone
=== CONT  TestAccAWSS3Bucket_basic
=== CONT  TestAccAWSS3Bucket_ignoreTags
=== CONT  TestAccAWSS3Bucket_tagsWithSystemTags
=== CONT  TestAccAWSS3Bucket_tagsWithNoSystemTags
=== CONT  TestAccAWSS3Bucket_Bucket_EmptyString
=== CONT  TestAccAWSS3Bucket_acceleration
=== CONT  TestAccAWSS3Bucket_namePrefix
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (5.74s)
=== CONT  TestAccAWSS3Bucket_generatedName
--- PASS: TestAccAWSS3BucketObject_objectBucketKeyEnabled (54.29s)
=== CONT  TestAccAWSS3Bucket_LifecycleExpireMarkerOnly
--- PASS: TestAccAWSS3Bucket_namePrefix (58.20s)
=== CONT  TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled
--- PASS: TestAccAWSS3Bucket_Bucket_EmptyString (59.11s)
=== CONT  TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes
--- PASS: TestAccAWSS3Bucket_generatedName (56.06s)
=== CONT  TestAccAWSS3Bucket_forceDestroy
--- PASS: TestAccAWSS3Bucket_basic (62.83s)
=== CONT  TestAccAWSS3Bucket_objectLock
--- PASS: TestAccAWSS3BucketObject_bucketBucketKeyEnabled (63.01s)
=== CONT  TestAccAWSS3Bucket_SameRegionReplicationSchemaV2
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (63.50s)
=== CONT  TestAccAWSS3Bucket_LifecycleBasic
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (96.37s)
=== CONT  TestAccAWSS3Bucket_ReplicationSchemaV2
--- PASS: TestAccAWSS3Bucket_ignoreTags (96.82s)
=== CONT  TestAccAWSS3Bucket_Logging
--- PASS: TestAccAWSS3BucketObject_ignoreTags (98.50s)
=== CONT  TestAccAWSS3Bucket_ReplicationWithoutPrefix
--- PASS: TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes (46.94s)
=== CONT  TestAccAWSS3Bucket_Cors_EmptyOrigin
--- PASS: TestAccAWSS3Bucket_forceDestroy (45.36s)
=== CONT  TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError
--- PASS: TestAccAWSS3Bucket_RequestPayer (108.70s)
=== CONT  TestAccAWSS3Bucket_Cors_Delete
--- PASS: TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled (51.76s)
=== CONT  TestAccAWSS3Bucket_Cors_Update
--- PASS: TestAccAWSS3Bucket_acceleration (111.41s)
=== CONT  TestAccAWSS3Bucket_Versioning
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (136.26s)
=== CONT  TestAccAWSS3Bucket_ReplicationWithoutStorageClass
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (140.58s)
=== CONT  TestAccAWSS3Bucket_shouldFailNotFound
--- PASS: TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError (33.60s)
=== CONT  TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation
--- PASS: TestAccAWSS3Bucket_SameRegionReplicationSchemaV2 (84.23s)
=== CONT  TestAccAWSS3Bucket_bucketKeyEnabled
--- PASS: TestAccAWSS3Bucket_Cors_Delete (45.89s)
=== CONT  TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled
--- PASS: TestAccAWSS3Bucket_Policy (156.29s)
=== CONT  TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed
--- PASS: TestAccAWSS3Bucket_LifecycleExpireMarkerOnly (102.67s)
=== CONT  TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical
--- PASS: TestAccAWSS3Bucket_Cors_EmptyOrigin (56.44s)
=== CONT  TestAccAWSS3Bucket_WebsiteRoutingRules
--- PASS: TestAccAWSS3Bucket_objectLock (100.51s)
=== CONT  TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation
--- PASS: TestAccAWSS3Bucket_shouldFailNotFound (27.57s)
=== CONT  TestAccAWSS3Bucket_Replication_MultipleDestinations_TwoDestination
--- PASS: TestAccAWSS3Bucket_Logging (80.31s)
=== CONT  TestAccAWSS3Bucket_Replication_MultipleDestinations_NonEmptyFilter
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutPrefix (79.28s)
=== CONT  TestAccAWSS3Bucket_WebsiteRedirect
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (181.18s)
=== CONT  TestAccAWSS3Bucket_Replication_MultipleDestinations_EmptyFilter
--- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (184.63s)
=== CONT  TestAccAWSS3Bucket_Website_Simple
--- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (186.51s)
=== CONT  TestAccAWSS3Bucket_Replication
--- PASS: TestAccAWSS3Bucket_tagsWithNoSystemTags (216.83s)
=== CONT  TestAccAWSS3Bucket_GrantToAcl
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutStorageClass (86.03s)
=== CONT  TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration
--- PASS: TestAccAWSS3Bucket_bucketKeyEnabled (77.27s)
=== CONT  TestAccAWSS3Bucket_AclToGrant
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed (68.45s)
=== CONT  TestAccAWSS3Bucket_UpdateGrant
--- PASS: TestAccAWSS3Bucket_LifecycleBasic (162.15s)
=== CONT  TestAccAWSS3Bucket_UpdateAcl
--- PASS: TestAccAWSS3Bucket_Cors_Update (121.67s)
=== CONT  TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical (77.67s)
=== CONT  TestAccAWSS3BucketObject_contentBase64
--- PASS: TestAccAWSS3Bucket_tagsWithSystemTags (258.91s)
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioning
--- PASS: TestAccAWSS3Bucket_Replication_MultipleDestinations_TwoDestination (90.86s)
=== CONT  TestAccAWSS3BucketObject_updateSameFile
--- PASS: TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled (116.27s)
=== CONT  TestAccAWSS3BucketObject_tagsLeadingSingleSlash
--- PASS: TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock (42.71s)
=== CONT  TestAccAWSS3BucketObject_updates
--- PASS: TestAccAWSS3Bucket_Replication_MultipleDestinations_NonEmptyFilter (98.55s)
=== CONT  TestAccAWSS3BucketObject_tags
--- PASS: TestAccAWSS3Bucket_Replication_MultipleDestinations_EmptyFilter (97.91s)
=== CONT  TestAccAWSS3BucketObject_withContentCharacteristics
--- PASS: TestAccAWSS3BucketObject_contentBase64 (45.28s)
=== CONT  TestAccAWSS3BucketObject_storageClass
--- PASS: TestAccAWSS3Bucket_Versioning (170.09s)
=== CONT  TestAccAWSS3BucketObject_metadata
--- PASS: TestAccAWSS3Bucket_WebsiteRoutingRules (119.20s)
=== CONT  TestAccAWSS3BucketObject_content
--- PASS: TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration (60.01s)
=== CONT  TestAccAWSS3BucketObject_etagEncryption
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation (156.94s)
=== CONT  TestAccAWSS3BucketObject_source
--- PASS: TestAccAWSS3Bucket_GrantToAcl (97.94s)
=== CONT  TestAccAWSS3BucketObject_kms
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation (159.91s)
=== CONT  TestAccAWSS3BucketObject_sse
--- PASS: TestAccAWSS3Bucket_AclToGrant (99.90s)
=== CONT  TestAccAWSS3BucketObject_acl
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (48.76s)
=== CONT  TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint
--- PASS: TestAccAWSS3BucketObject_content (48.85s)
=== CONT  TestAccAWSS3BucketObject_empty
--- PASS: TestAccAWSS3BucketObject_etagEncryption (48.57s)
=== CONT  TestAccAWSS3BucketObject_NonVersioned
    provider_test.go:2249: skipping test; environment variable TF_ACC_ASSUME_ROLE_ARN must be set. Usage: Amazon Resource Name (ARN) of existing IAM Role to assume for testing restricted permissions
--- SKIP: TestAccAWSS3BucketObject_NonVersioned (0.00s)
--- PASS: TestAccAWSS3Bucket_UpdateAcl (107.29s)
--- PASS: TestAccAWSS3BucketObject_source (47.23s)
--- PASS: TestAccAWSS3Bucket_WebsiteRedirect (174.95s)
--- PASS: TestAccAWSS3Bucket_Website_Simple (170.08s)
--- PASS: TestAccAWSS3BucketObject_updateSameFile (98.37s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (98.47s)
--- PASS: TestAccAWSS3BucketObject_kms (51.52s)
--- PASS: TestAccAWSS3BucketObject_updates (92.18s)
--- PASS: TestAccAWSS3BucketObject_sse (50.37s)
--- PASS: TestAccAWSS3BucketObject_empty (46.25s)
--- PASS: TestAccAWSS3Bucket_ReplicationSchemaV2 (286.95s)
--- PASS: TestAccAWSS3Bucket_UpdateGrant (164.87s)
--- PASS: TestAccAWSS3BucketObject_metadata (130.24s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (98.72s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (171.81s)
--- PASS: TestAccAWSS3Bucket_Replication (260.30s)
--- PASS: TestAccAWSS3BucketObject_tags (173.02s)
--- PASS: TestAccAWSS3BucketObject_acl (130.31s)
--- PASS: TestAccAWSS3BucketObject_storageClass (214.36s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	494.638s

@ghost ghost removed the waiting-response Maintainers are waiting on response from community or contributor. label Apr 2, 2021
@bflad
Copy link
Contributor

bflad commented Apr 2, 2021

Thanks so much, @mattburgess! 😄 Will take a peek at this shortly.

@bflad bflad self-requested a review April 2, 2021 16:22
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🚀

Output from acceptance testing in AWS Commercial:

--- PASS: TestAccAWSS3Bucket_acceleration (77.72s)
--- PASS: TestAccAWSS3Bucket_AclToGrant (67.81s)
--- PASS: TestAccAWSS3Bucket_basic (43.99s)
--- PASS: TestAccAWSS3Bucket_Bucket_EmptyString (44.40s)
--- PASS: TestAccAWSS3Bucket_bucketKeyEnabled (43.09s)
--- PASS: TestAccAWSS3Bucket_Cors_Delete (31.97s)
--- PASS: TestAccAWSS3Bucket_Cors_EmptyOrigin (40.73s)
--- PASS: TestAccAWSS3Bucket_Cors_Update (75.47s)
--- PASS: TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled (71.37s)
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed (40.40s)
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical (43.33s)
--- PASS: TestAccAWSS3Bucket_forceDestroy (31.28s)
--- PASS: TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes (34.81s)
--- PASS: TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled (37.66s)
--- PASS: TestAccAWSS3Bucket_generatedName (37.26s)
--- PASS: TestAccAWSS3Bucket_GrantToAcl (68.73s)
--- PASS: TestAccAWSS3Bucket_ignoreTags (68.51s)
--- PASS: TestAccAWSS3Bucket_LifecycleBasic (91.66s)
--- PASS: TestAccAWSS3Bucket_LifecycleExpireMarkerOnly (71.82s)
--- PASS: TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration (38.91s)
--- PASS: TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock (31.06s)
--- PASS: TestAccAWSS3Bucket_Logging (63.26s)
--- PASS: TestAccAWSS3Bucket_namePrefix (46.80s)
--- PASS: TestAccAWSS3Bucket_objectLock (68.55s)
--- PASS: TestAccAWSS3Bucket_Policy (100.51s)
--- PASS: TestAccAWSS3Bucket_Replication (141.65s)
--- PASS: TestAccAWSS3Bucket_Replication_MultipleDestinations_EmptyFilter (49.89s)
--- PASS: TestAccAWSS3Bucket_Replication_MultipleDestinations_NonEmptyFilter (49.86s)
--- PASS: TestAccAWSS3Bucket_Replication_MultipleDestinations_TwoDestination (46.15s)
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation (87.62s)
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation (86.86s)
--- PASS: TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError (14.78s)
--- PASS: TestAccAWSS3Bucket_ReplicationSchemaV2 (163.32s)
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutPrefix (51.27s)
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutStorageClass (45.50s)
--- PASS: TestAccAWSS3Bucket_RequestPayer (70.57s)
--- PASS: TestAccAWSS3Bucket_SameRegionReplicationSchemaV2 (56.90s)
--- PASS: TestAccAWSS3Bucket_shouldFailNotFound (20.04s)
--- PASS: TestAccAWSS3Bucket_tagsWithNoSystemTags (140.95s)
--- PASS: TestAccAWSS3Bucket_tagsWithSystemTags (177.22s)
--- PASS: TestAccAWSS3Bucket_UpdateAcl (78.18s)
--- PASS: TestAccAWSS3Bucket_UpdateGrant (108.69s)
--- PASS: TestAccAWSS3Bucket_Versioning (103.73s)
--- PASS: TestAccAWSS3Bucket_Website_Simple (106.81s)
--- PASS: TestAccAWSS3Bucket_WebsiteRedirect (110.01s)
--- PASS: TestAccAWSS3Bucket_WebsiteRoutingRules (73.38s)

--- PASS: TestAccAWSS3BucketObject_acl (97.64s)
--- PASS: TestAccAWSS3BucketObject_bucketBucketKeyEnabled (47.14s)
--- PASS: TestAccAWSS3BucketObject_content (33.47s)
--- PASS: TestAccAWSS3BucketObject_contentBase64 (31.68s)
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (40.86s)
--- PASS: TestAccAWSS3BucketObject_empty (32.54s)
--- PASS: TestAccAWSS3BucketObject_etagEncryption (33.10s)
--- PASS: TestAccAWSS3BucketObject_ignoreTags (69.05s)
--- PASS: TestAccAWSS3BucketObject_kms (38.94s)
--- PASS: TestAccAWSS3BucketObject_metadata (90.62s)
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (2.10s)
--- PASS: TestAccAWSS3BucketObject_NonVersioned (31.53s)
--- PASS: TestAccAWSS3BucketObject_objectBucketKeyEnabled (38.89s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (91.67s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (60.02s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (92.71s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (116.24s)
--- PASS: TestAccAWSS3BucketObject_source (33.40s)
--- PASS: TestAccAWSS3BucketObject_sse (38.30s)
--- PASS: TestAccAWSS3BucketObject_storageClass (150.35s)
--- PASS: TestAccAWSS3BucketObject_tags (123.37s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (126.89s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (126.64s)
--- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (117.47s)
--- PASS: TestAccAWSS3BucketObject_updates (60.84s)
--- PASS: TestAccAWSS3BucketObject_updateSameFile (60.72s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (61.90s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (76.09s)
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (31.05s)

--- PASS: TestAccDataSourceAWSS3BucketObject_allParams (37.71s)
--- PASS: TestAccDataSourceAWSS3BucketObject_basic (39.61s)
--- PASS: TestAccDataSourceAWSS3BucketObject_basicViaAccessPoint (39.30s)
--- PASS: TestAccDataSourceAWSS3BucketObject_bucketKeyEnabled (41.45s)
--- PASS: TestAccDataSourceAWSS3BucketObject_kmsEncrypted (38.94s)
--- PASS: TestAccDataSourceAWSS3BucketObject_LeadingSlash (67.65s)
--- PASS: TestAccDataSourceAWSS3BucketObject_MultipleSlashes (66.64s)
--- PASS: TestAccDataSourceAWSS3BucketObject_ObjectLockLegalHoldOff (37.55s)
--- PASS: TestAccDataSourceAWSS3BucketObject_ObjectLockLegalHoldOn (38.33s)
--- PASS: TestAccDataSourceAWSS3BucketObject_readableBody (35.63s)
--- PASS: TestAccDataSourceAWSS3BucketObject_SingleSlashAsKey (31.84s)

Output from acceptance testing in AWS GovCloud (US):

--- FAIL: TestAccAWSS3Bucket_LifecycleBasic (45.90s) # https://github.com/hashicorp/terraform-provider-aws/issues/18511
--- PASS: TestAccAWSS3Bucket_AclToGrant (72.45s)
--- PASS: TestAccAWSS3Bucket_basic (39.51s)
--- PASS: TestAccAWSS3Bucket_Bucket_EmptyString (40.99s)
--- PASS: TestAccAWSS3Bucket_bucketKeyEnabled (57.24s)
--- PASS: TestAccAWSS3Bucket_Cors_Delete (33.66s)
--- PASS: TestAccAWSS3Bucket_Cors_EmptyOrigin (43.24s)
--- PASS: TestAccAWSS3Bucket_Cors_Update (76.55s)
--- PASS: TestAccAWSS3Bucket_disableDefaultEncryption_whenDefaultEncryptionIsEnabled (83.35s)
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenAES256IsUsed (50.07s)
--- PASS: TestAccAWSS3Bucket_enableDefaultEncryption_whenTypical (59.66s)
--- PASS: TestAccAWSS3Bucket_forceDestroy (41.90s)
--- PASS: TestAccAWSS3Bucket_forceDestroyWithEmptyPrefixes (41.74s)
--- PASS: TestAccAWSS3Bucket_forceDestroyWithObjectLockEnabled (43.77s)
--- PASS: TestAccAWSS3Bucket_generatedName (39.92s)
--- PASS: TestAccAWSS3Bucket_GrantToAcl (76.18s)
--- PASS: TestAccAWSS3Bucket_ignoreTags (69.36s)
--- PASS: TestAccAWSS3Bucket_LifecycleExpireMarkerOnly (52.92s)
--- PASS: TestAccAWSS3Bucket_LifecycleRule_AbortIncompleteMultipartUploadDays_NoExpiration (42.01s)
--- PASS: TestAccAWSS3Bucket_LifecycleRule_Expiration_EmptyConfigurationBlock (33.30s)
--- PASS: TestAccAWSS3Bucket_Logging (54.19s)
--- PASS: TestAccAWSS3Bucket_namePrefix (41.12s)
--- PASS: TestAccAWSS3Bucket_objectLock (82.24s)
--- PASS: TestAccAWSS3Bucket_Policy (109.36s)
--- PASS: TestAccAWSS3Bucket_Replication (167.07s)
--- PASS: TestAccAWSS3Bucket_Replication_MultipleDestinations_TwoDestination (64.85s)
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AccessControlTranslation (105.07s)
--- PASS: TestAccAWSS3Bucket_ReplicationConfiguration_Rule_Destination_AddAccessControlTranslation (68.50s)
--- PASS: TestAccAWSS3Bucket_ReplicationExpectVersioningValidationError (21.57s)
--- PASS: TestAccAWSS3Bucket_ReplicationSchemaV2 (177.48s)
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutPrefix (64.72s)
--- PASS: TestAccAWSS3Bucket_ReplicationWithoutStorageClass (51.92s)
--- PASS: TestAccAWSS3Bucket_RequestPayer (79.18s)
--- PASS: TestAccAWSS3Bucket_SameRegionReplicationSchemaV2 (70.20s)
--- PASS: TestAccAWSS3Bucket_shouldFailNotFound (28.74s)
--- PASS: TestAccAWSS3Bucket_tagsWithNoSystemTags (146.42s)
--- PASS: TestAccAWSS3Bucket_tagsWithSystemTags (195.57s)
--- PASS: TestAccAWSS3Bucket_UpdateAcl (69.73s)
--- PASS: TestAccAWSS3Bucket_UpdateGrant (113.18s)
--- PASS: TestAccAWSS3Bucket_Versioning (110.36s)
--- PASS: TestAccAWSS3Bucket_Website_Simple (105.63s)
--- PASS: TestAccAWSS3Bucket_WebsiteRedirect (122.37s)
--- PASS: TestAccAWSS3Bucket_WebsiteRoutingRules (83.63s)
--- SKIP: TestAccAWSS3Bucket_acceleration (0.00s)
--- SKIP: TestAccAWSS3Bucket_Replication_MultipleDestinations_EmptyFilter (31.31s)
--- SKIP: TestAccAWSS3Bucket_Replication_MultipleDestinations_NonEmptyFilter (29.41s)

--- PASS: TestAccAWSS3BucketObject_acl (80.47s)
--- PASS: TestAccAWSS3BucketObject_bucketBucketKeyEnabled (43.37s)
--- PASS: TestAccAWSS3BucketObject_content (35.12s)
--- PASS: TestAccAWSS3BucketObject_contentBase64 (33.84s)
--- PASS: TestAccAWSS3BucketObject_defaultBucketSSE (43.09s)
--- PASS: TestAccAWSS3BucketObject_empty (36.84s)
--- PASS: TestAccAWSS3BucketObject_etagEncryption (34.47s)
--- PASS: TestAccAWSS3BucketObject_ignoreTags (68.34s)
--- PASS: TestAccAWSS3BucketObject_kms (32.07s)
--- PASS: TestAccAWSS3BucketObject_metadata (78.86s)
--- PASS: TestAccAWSS3BucketObject_noNameNoKey (3.25s)
--- PASS: TestAccAWSS3BucketObject_objectBucketKeyEnabled (35.73s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithNone (94.04s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockLegalHoldStartWithOn (69.24s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithNone (90.95s)
--- PASS: TestAccAWSS3BucketObject_ObjectLockRetentionStartWithSet (122.98s)
--- PASS: TestAccAWSS3BucketObject_source (34.57s)
--- PASS: TestAccAWSS3BucketObject_sse (31.84s)
--- PASS: TestAccAWSS3BucketObject_storageClass (126.89s)
--- PASS: TestAccAWSS3BucketObject_tags (111.75s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingMultipleSlashes (117.49s)
--- PASS: TestAccAWSS3BucketObject_tagsLeadingSingleSlash (115.91s)
--- PASS: TestAccAWSS3BucketObject_tagsMultipleSlashes (114.99s)
--- PASS: TestAccAWSS3BucketObject_updates (69.26s)
--- PASS: TestAccAWSS3BucketObject_updateSameFile (66.18s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioning (67.47s)
--- PASS: TestAccAWSS3BucketObject_updatesWithVersioningViaAccessPoint (70.95s)
--- PASS: TestAccAWSS3BucketObject_withContentCharacteristics (33.42s)
--- SKIP: TestAccAWSS3BucketObject_NonVersioned (0.05s)

--- PASS: TestAccDataSourceAWSS3BucketObject_allParams (38.87s)
--- PASS: TestAccDataSourceAWSS3BucketObject_basic (42.58s)
--- PASS: TestAccDataSourceAWSS3BucketObject_basicViaAccessPoint (38.88s)
--- PASS: TestAccDataSourceAWSS3BucketObject_bucketKeyEnabled (38.86s)
--- PASS: TestAccDataSourceAWSS3BucketObject_kmsEncrypted (41.60s)
--- PASS: TestAccDataSourceAWSS3BucketObject_LeadingSlash (72.16s)
--- PASS: TestAccDataSourceAWSS3BucketObject_MultipleSlashes (76.35s)
--- PASS: TestAccDataSourceAWSS3BucketObject_ObjectLockLegalHoldOff (41.74s)
--- PASS: TestAccDataSourceAWSS3BucketObject_ObjectLockLegalHoldOn (38.42s)
--- PASS: TestAccDataSourceAWSS3BucketObject_readableBody (38.45s)
--- PASS: TestAccDataSourceAWSS3BucketObject_SingleSlashAsKey (34.70s)

@bflad bflad merged commit 924f23a into hashicorp:main Apr 2, 2021
@github-actions github-actions bot added this to the v3.36.0 milestone Apr 2, 2021
@ghost
Copy link

ghost commented Apr 9, 2021

This has been released in version 3.36.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!

@ghost
Copy link

ghost commented May 3, 2021

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!

@ghost ghost locked as resolved and limited conversation to collaborators May 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/s3 Issues and PRs that pertain to the s3 service. size/L Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Amazon S3 Bucket Keys
7 participants