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

Fork Sync: Update from parent repository #29

Merged
merged 75 commits into from
Sep 27, 2023
Merged

Conversation

mbialon
Copy link

@mbialon mbialon commented Sep 27, 2023

No description provided.

% make testacc TESTARGS='-run=TestAccS3BucketIntelligentTieringConfiguration_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketIntelligentTieringConfiguration_ -timeout 360m
=== RUN   TestAccS3BucketIntelligentTieringConfiguration_basic
=== PAUSE TestAccS3BucketIntelligentTieringConfiguration_basic
=== RUN   TestAccS3BucketIntelligentTieringConfiguration_disappears
=== PAUSE TestAccS3BucketIntelligentTieringConfiguration_disappears
=== RUN   TestAccS3BucketIntelligentTieringConfiguration_Filter
=== PAUSE TestAccS3BucketIntelligentTieringConfiguration_Filter
=== CONT  TestAccS3BucketIntelligentTieringConfiguration_basic
=== CONT  TestAccS3BucketIntelligentTieringConfiguration_disappears
--- PASS: TestAccS3BucketIntelligentTieringConfiguration_disappears (26.86s)
=== CONT  TestAccS3BucketIntelligentTieringConfiguration_Filter
--- PASS: TestAccS3BucketIntelligentTieringConfiguration_basic (46.66s)
--- PASS: TestAccS3BucketIntelligentTieringConfiguration_Filter (166.56s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	198.494s
% make testacc TESTARGS='-run=TestAccS3BucketRequestPaymentConfiguration_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketRequestPaymentConfiguration_ -timeout 360m
=== RUN   TestAccS3BucketRequestPaymentConfiguration_Basic_BucketOwner
=== PAUSE TestAccS3BucketRequestPaymentConfiguration_Basic_BucketOwner
=== RUN   TestAccS3BucketRequestPaymentConfiguration_Basic_Requester
=== PAUSE TestAccS3BucketRequestPaymentConfiguration_Basic_Requester
=== RUN   TestAccS3BucketRequestPaymentConfiguration_update
=== PAUSE TestAccS3BucketRequestPaymentConfiguration_update
=== RUN   TestAccS3BucketRequestPaymentConfiguration_migrate_noChange
=== PAUSE TestAccS3BucketRequestPaymentConfiguration_migrate_noChange
=== RUN   TestAccS3BucketRequestPaymentConfiguration_migrate_withChange
=== PAUSE TestAccS3BucketRequestPaymentConfiguration_migrate_withChange
=== CONT  TestAccS3BucketRequestPaymentConfiguration_Basic_BucketOwner
=== CONT  TestAccS3BucketRequestPaymentConfiguration_migrate_noChange
--- PASS: TestAccS3BucketRequestPaymentConfiguration_Basic_BucketOwner (49.13s)
=== CONT  TestAccS3BucketRequestPaymentConfiguration_migrate_withChange
--- PASS: TestAccS3BucketRequestPaymentConfiguration_migrate_noChange (64.58s)
=== CONT  TestAccS3BucketRequestPaymentConfiguration_update
--- PASS: TestAccS3BucketRequestPaymentConfiguration_migrate_withChange (60.92s)
=== CONT  TestAccS3BucketRequestPaymentConfiguration_Basic_Requester
--- PASS: TestAccS3BucketRequestPaymentConfiguration_update (84.37s)
--- PASS: TestAccS3BucketRequestPaymentConfiguration_Basic_Requester (44.85s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	159.907s
% make testacc TESTARGS='-run=TestAccS3BucketInventory_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketInventory_ -timeout 360m
=== RUN   TestAccS3BucketInventory_basic
=== PAUSE TestAccS3BucketInventory_basic
=== RUN   TestAccS3BucketInventory_encryptWithSSES3
=== PAUSE TestAccS3BucketInventory_encryptWithSSES3
=== RUN   TestAccS3BucketInventory_encryptWithSSEKMS
=== PAUSE TestAccS3BucketInventory_encryptWithSSEKMS
=== CONT  TestAccS3BucketInventory_basic
=== CONT  TestAccS3BucketInventory_encryptWithSSEKMS
--- PASS: TestAccS3BucketInventory_encryptWithSSEKMS (30.41s)
=== CONT  TestAccS3BucketInventory_encryptWithSSES3
--- PASS: TestAccS3BucketInventory_basic (46.64s)
--- PASS: TestAccS3BucketInventory_encryptWithSSES3 (43.88s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	79.143s
% make testacc TESTARGS='-run=TestAccS3BucketLogging_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketLogging_ -timeout 360m
=== RUN   TestAccS3BucketLogging_basic
=== PAUSE TestAccS3BucketLogging_basic
=== RUN   TestAccS3BucketLogging_disappears
=== PAUSE TestAccS3BucketLogging_disappears
=== RUN   TestAccS3BucketLogging_update
=== PAUSE TestAccS3BucketLogging_update
=== RUN   TestAccS3BucketLogging_TargetGrantByID
=== PAUSE TestAccS3BucketLogging_TargetGrantByID
=== RUN   TestAccS3BucketLogging_TargetGrantByEmail
    acctest.go:86: 'AWS_S3_BUCKET_LOGGING_AMAZON_CUSTOMER_BY_EMAIL' not set, skipping test.
--- SKIP: TestAccS3BucketLogging_TargetGrantByEmail (0.00s)
=== RUN   TestAccS3BucketLogging_TargetGrantByGroup
=== PAUSE TestAccS3BucketLogging_TargetGrantByGroup
=== RUN   TestAccS3BucketLogging_migrate_loggingNoChange
=== PAUSE TestAccS3BucketLogging_migrate_loggingNoChange
=== RUN   TestAccS3BucketLogging_migrate_loggingWithChange
=== PAUSE TestAccS3BucketLogging_migrate_loggingWithChange
=== RUN   TestAccS3BucketLogging_withExpectedBucketOwner
=== PAUSE TestAccS3BucketLogging_withExpectedBucketOwner
=== CONT  TestAccS3BucketLogging_basic
=== CONT  TestAccS3BucketLogging_TargetGrantByGroup
--- PASS: TestAccS3BucketLogging_basic (55.57s)
=== CONT  TestAccS3BucketLogging_migrate_loggingWithChange
--- PASS: TestAccS3BucketLogging_TargetGrantByGroup (109.37s)
=== CONT  TestAccS3BucketLogging_withExpectedBucketOwner
--- PASS: TestAccS3BucketLogging_migrate_loggingWithChange (73.09s)
=== CONT  TestAccS3BucketLogging_update
--- PASS: TestAccS3BucketLogging_withExpectedBucketOwner (54.63s)
=== CONT  TestAccS3BucketLogging_TargetGrantByID
--- PASS: TestAccS3BucketLogging_update (78.60s)
=== CONT  TestAccS3BucketLogging_disappears
--- PASS: TestAccS3BucketLogging_disappears (34.21s)
=== CONT  TestAccS3BucketLogging_migrate_loggingNoChange
--- PASS: TestAccS3BucketLogging_TargetGrantByID (110.15s)
--- PASS: TestAccS3BucketLogging_migrate_loggingNoChange (71.61s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	318.504s
% make testacc TESTARGS='-run=TestAccS3BucketACL_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketACL_ -timeout 360m
=== RUN   TestAccS3BucketACL_basic
=== PAUSE TestAccS3BucketACL_basic
=== RUN   TestAccS3BucketACL_disappears
=== PAUSE TestAccS3BucketACL_disappears
=== RUN   TestAccS3BucketACL_migrate_aclNoChange
=== PAUSE TestAccS3BucketACL_migrate_aclNoChange
=== RUN   TestAccS3BucketACL_migrate_aclWithChange
=== PAUSE TestAccS3BucketACL_migrate_aclWithChange
=== RUN   TestAccS3BucketACL_migrate_grantsWithChange
=== PAUSE TestAccS3BucketACL_migrate_grantsWithChange
=== RUN   TestAccS3BucketACL_updateACL
=== PAUSE TestAccS3BucketACL_updateACL
=== RUN   TestAccS3BucketACL_updateGrant
=== PAUSE TestAccS3BucketACL_updateGrant
=== RUN   TestAccS3BucketACL_ACLToGrant
=== PAUSE TestAccS3BucketACL_ACLToGrant
=== RUN   TestAccS3BucketACL_grantToACL
=== PAUSE TestAccS3BucketACL_grantToACL
=== CONT  TestAccS3BucketACL_basic
=== CONT  TestAccS3BucketACL_updateACL
--- PASS: TestAccS3BucketACL_basic (31.48s)
=== CONT  TestAccS3BucketACL_ACLToGrant
--- PASS: TestAccS3BucketACL_updateACL (53.66s)
=== CONT  TestAccS3BucketACL_grantToACL
--- PASS: TestAccS3BucketACL_ACLToGrant (51.61s)
=== CONT  TestAccS3BucketACL_migrate_aclWithChange
--- PASS: TestAccS3BucketACL_grantToACL (53.03s)
=== CONT  TestAccS3BucketACL_migrate_grantsWithChange
--- PASS: TestAccS3BucketACL_migrate_aclWithChange (48.99s)
=== CONT  TestAccS3BucketACL_migrate_aclNoChange
--- PASS: TestAccS3BucketACL_migrate_grantsWithChange (49.40s)
=== CONT  TestAccS3BucketACL_disappears
--- PASS: TestAccS3BucketACL_migrate_aclNoChange (47.32s)
=== CONT  TestAccS3BucketACL_updateGrant
--- PASS: TestAccS3BucketACL_disappears (38.93s)
--- PASS: TestAccS3BucketACL_updateGrant (58.67s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	243.510s
% make testacc TESTARGS='-run=TestAccS3BucketMetric_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketMetric_ -timeout 360m
=== RUN   TestAccS3BucketMetric_basic
=== PAUSE TestAccS3BucketMetric_basic
=== RUN   TestAccS3BucketMetric_withEmptyFilter
=== PAUSE TestAccS3BucketMetric_withEmptyFilter
=== RUN   TestAccS3BucketMetric_withFilterPrefix
=== PAUSE TestAccS3BucketMetric_withFilterPrefix
=== RUN   TestAccS3BucketMetric_withFilterPrefixAndMultipleTags
=== PAUSE TestAccS3BucketMetric_withFilterPrefixAndMultipleTags
=== RUN   TestAccS3BucketMetric_withFilterPrefixAndSingleTag
=== PAUSE TestAccS3BucketMetric_withFilterPrefixAndSingleTag
=== RUN   TestAccS3BucketMetric_withFilterMultipleTags
=== PAUSE TestAccS3BucketMetric_withFilterMultipleTags
=== RUN   TestAccS3BucketMetric_withFilterSingleTag
=== PAUSE TestAccS3BucketMetric_withFilterSingleTag
=== CONT  TestAccS3BucketMetric_basic
=== CONT  TestAccS3BucketMetric_withFilterPrefixAndSingleTag
--- PASS: TestAccS3BucketMetric_basic (47.70s)
=== CONT  TestAccS3BucketMetric_withFilterPrefixAndMultipleTags
--- PASS: TestAccS3BucketMetric_withFilterPrefixAndSingleTag (67.72s)
=== CONT  TestAccS3BucketMetric_withFilterMultipleTags
--- PASS: TestAccS3BucketMetric_withFilterPrefixAndMultipleTags (64.71s)
=== CONT  TestAccS3BucketMetric_withFilterPrefix
--- PASS: TestAccS3BucketMetric_withFilterMultipleTags (65.25s)
=== CONT  TestAccS3BucketMetric_withFilterSingleTag
--- PASS: TestAccS3BucketMetric_withFilterPrefix (67.64s)
=== CONT  TestAccS3BucketMetric_withEmptyFilter
--- PASS: TestAccS3BucketMetric_withEmptyFilter (2.16s)
--- PASS: TestAccS3BucketMetric_withFilterSingleTag (68.39s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	206.953s
% make testacc TESTARGS='-run=TestAccS3BucketOwnershipControls_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketOwnershipControls_ -timeout 360m
=== RUN   TestAccS3BucketOwnershipControls_basic
=== PAUSE TestAccS3BucketOwnershipControls_basic
=== RUN   TestAccS3BucketOwnershipControls_disappears
=== PAUSE TestAccS3BucketOwnershipControls_disappears
=== RUN   TestAccS3BucketOwnershipControls_Disappears_bucket
=== PAUSE TestAccS3BucketOwnershipControls_Disappears_bucket
=== RUN   TestAccS3BucketOwnershipControls_Rule_objectOwnership
=== PAUSE TestAccS3BucketOwnershipControls_Rule_objectOwnership
=== CONT  TestAccS3BucketOwnershipControls_basic
=== CONT  TestAccS3BucketOwnershipControls_Disappears_bucket
--- PASS: TestAccS3BucketOwnershipControls_Disappears_bucket (37.74s)
=== CONT  TestAccS3BucketOwnershipControls_disappears
--- PASS: TestAccS3BucketOwnershipControls_basic (45.51s)
=== CONT  TestAccS3BucketOwnershipControls_Rule_objectOwnership
--- PASS: TestAccS3BucketOwnershipControls_disappears (25.31s)
--- PASS: TestAccS3BucketOwnershipControls_Rule_objectOwnership (64.34s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	115.117s
% make testacc TESTARGS='-run=TestAccS3BucketNotification_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketNotification_ -timeout 360m
=== RUN   TestAccS3BucketNotification_eventbridge
=== PAUSE TestAccS3BucketNotification_eventbridge
=== RUN   TestAccS3BucketNotification_lambdaFunction
=== PAUSE TestAccS3BucketNotification_lambdaFunction
=== RUN   TestAccS3BucketNotification_LambdaFunctionLambdaFunctionARN_alias
=== PAUSE TestAccS3BucketNotification_LambdaFunctionLambdaFunctionARN_alias
=== RUN   TestAccS3BucketNotification_queue
=== PAUSE TestAccS3BucketNotification_queue
=== RUN   TestAccS3BucketNotification_topic
=== PAUSE TestAccS3BucketNotification_topic
=== RUN   TestAccS3BucketNotification_Topic_multiple
=== PAUSE TestAccS3BucketNotification_Topic_multiple
=== RUN   TestAccS3BucketNotification_update
=== PAUSE TestAccS3BucketNotification_update
=== CONT  TestAccS3BucketNotification_eventbridge
=== CONT  TestAccS3BucketNotification_topic
--- PASS: TestAccS3BucketNotification_eventbridge (50.88s)
=== CONT  TestAccS3BucketNotification_update
--- PASS: TestAccS3BucketNotification_topic (52.07s)
=== CONT  TestAccS3BucketNotification_Topic_multiple
--- PASS: TestAccS3BucketNotification_Topic_multiple (48.89s)
=== CONT  TestAccS3BucketNotification_LambdaFunctionLambdaFunctionARN_alias
--- PASS: TestAccS3BucketNotification_update (93.77s)
=== CONT  TestAccS3BucketNotification_queue
--- PASS: TestAccS3BucketNotification_LambdaFunctionLambdaFunctionARN_alias (57.45s)
=== CONT  TestAccS3BucketNotification_lambdaFunction
--- PASS: TestAccS3BucketNotification_lambdaFunction (60.69s)
--- PASS: TestAccS3BucketNotification_queue (75.33s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	225.411s
% make testacc TESTARGS='-run=TestAccS3BucketDataSource_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketDataSource_ -timeout 360m
=== RUN   TestAccS3BucketDataSource_basic
=== PAUSE TestAccS3BucketDataSource_basic
=== RUN   TestAccS3BucketDataSource_website
=== PAUSE TestAccS3BucketDataSource_website
=== CONT  TestAccS3BucketDataSource_basic
=== CONT  TestAccS3BucketDataSource_website
--- PASS: TestAccS3BucketDataSource_basic (27.86s)
--- PASS: TestAccS3BucketDataSource_website (45.00s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	50.451s
% make testacc TESTARGS='-run=TestAccS3BucketReplicationConfiguration_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketReplicationConfiguration_ -timeout 360m
=== RUN   TestAccS3BucketReplicationConfiguration_basic
=== PAUSE TestAccS3BucketReplicationConfiguration_basic
=== RUN   TestAccS3BucketReplicationConfiguration_disappears
=== PAUSE TestAccS3BucketReplicationConfiguration_disappears
=== RUN   TestAccS3BucketReplicationConfiguration_multipleDestinationsEmptyFilter
=== PAUSE TestAccS3BucketReplicationConfiguration_multipleDestinationsEmptyFilter
=== RUN   TestAccS3BucketReplicationConfiguration_multipleDestinationsNonEmptyFilter
=== PAUSE TestAccS3BucketReplicationConfiguration_multipleDestinationsNonEmptyFilter
=== RUN   TestAccS3BucketReplicationConfiguration_twoDestination
=== PAUSE TestAccS3BucketReplicationConfiguration_twoDestination
=== RUN   TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAccessControlTranslation
=== PAUSE TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAccessControlTranslation
=== RUN   TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAddAccessControlTranslation
=== PAUSE TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAddAccessControlTranslation
=== RUN   TestAccS3BucketReplicationConfiguration_replicationTimeControl
=== PAUSE TestAccS3BucketReplicationConfiguration_replicationTimeControl
=== RUN   TestAccS3BucketReplicationConfiguration_replicaModifications
=== PAUSE TestAccS3BucketReplicationConfiguration_replicaModifications
=== RUN   TestAccS3BucketReplicationConfiguration_withoutId
=== PAUSE TestAccS3BucketReplicationConfiguration_withoutId
=== RUN   TestAccS3BucketReplicationConfiguration_withoutStorageClass
=== PAUSE TestAccS3BucketReplicationConfiguration_withoutStorageClass
=== RUN   TestAccS3BucketReplicationConfiguration_schemaV2
=== PAUSE TestAccS3BucketReplicationConfiguration_schemaV2
=== RUN   TestAccS3BucketReplicationConfiguration_schemaV2SameRegion
=== PAUSE TestAccS3BucketReplicationConfiguration_schemaV2SameRegion
=== RUN   TestAccS3BucketReplicationConfiguration_schemaV2DestinationMetrics
=== PAUSE TestAccS3BucketReplicationConfiguration_schemaV2DestinationMetrics
=== RUN   TestAccS3BucketReplicationConfiguration_existingObjectReplication
    bucket_replication_configuration_test.go:768: skipping test: AWS Technical Support request required to allow ExistingObjectReplication
--- SKIP: TestAccS3BucketReplicationConfiguration_existingObjectReplication (0.00s)
=== RUN   TestAccS3BucketReplicationConfiguration_filter_emptyConfigurationBlock
=== PAUSE TestAccS3BucketReplicationConfiguration_filter_emptyConfigurationBlock
=== RUN   TestAccS3BucketReplicationConfiguration_filter_emptyPrefix
=== PAUSE TestAccS3BucketReplicationConfiguration_filter_emptyPrefix
=== RUN   TestAccS3BucketReplicationConfiguration_filter_tagFilter
=== PAUSE TestAccS3BucketReplicationConfiguration_filter_tagFilter
=== RUN   TestAccS3BucketReplicationConfiguration_filter_andOperator
=== PAUSE TestAccS3BucketReplicationConfiguration_filter_andOperator
=== RUN   TestAccS3BucketReplicationConfiguration_filter_withoutId
=== PAUSE TestAccS3BucketReplicationConfiguration_filter_withoutId
=== RUN   TestAccS3BucketReplicationConfiguration_withoutPrefix
=== PAUSE TestAccS3BucketReplicationConfiguration_withoutPrefix
=== RUN   TestAccS3BucketReplicationConfiguration_migrate_noChange
=== PAUSE TestAccS3BucketReplicationConfiguration_migrate_noChange
=== RUN   TestAccS3BucketReplicationConfiguration_migrate_withChange
=== PAUSE TestAccS3BucketReplicationConfiguration_migrate_withChange
=== CONT  TestAccS3BucketReplicationConfiguration_basic
=== CONT  TestAccS3BucketReplicationConfiguration_schemaV2
    bucket_replication_configuration_test.go:650: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-6775954691988083781-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: GA72W41YDTY423YG, HostID: R4EvQ3jw6z1kLbbXRz75OmtnzhLSIpMJPWx37OCnwcLgiuImd++kewlsooUCOw1BVeMw6zDC0Y89cZug4VBiLg==, api error InvalidRequest: Priority must be specified for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_schemaV2 (21.77s)
=== CONT  TestAccS3BucketReplicationConfiguration_filter_andOperator
    bucket_replication_configuration_test.go:962: Step 1/4 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-6534660829213118586-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: 3DGJ4BX5ZPK4E11Q, HostID: huOKd5kX7+Eeh9VQ96t9xeuqMKrw3otpQhtZdj2uH6qaGrchvlIwgyWvdhRTwzA9hxtdiv7LKA0=, api error InvalidRequest: Priority must be specified for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_filter_andOperator (21.73s)
=== CONT  TestAccS3BucketReplicationConfiguration_migrate_withChange
--- PASS: TestAccS3BucketReplicationConfiguration_basic (100.15s)
=== CONT  TestAccS3BucketReplicationConfiguration_migrate_noChange
--- PASS: TestAccS3BucketReplicationConfiguration_migrate_withChange (65.41s)
=== CONT  TestAccS3BucketReplicationConfiguration_withoutPrefix
--- PASS: TestAccS3BucketReplicationConfiguration_withoutPrefix (52.32s)
=== CONT  TestAccS3BucketReplicationConfiguration_filter_withoutId
--- PASS: TestAccS3BucketReplicationConfiguration_migrate_noChange (74.50s)
=== CONT  TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAddAccessControlTranslation
=== NAME  TestAccS3BucketReplicationConfiguration_filter_withoutId
    bucket_replication_configuration_test.go:1038: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-8159618831180413580-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: NQ03NXMAM1ETFXE4, HostID: yo+HCNWHl1JPhWhSaDHjP05rLVc/BzqWBeNplSyv75cLXsb3QlxKKS8OGEYcbdNRTtfqOh/X4/jpMks06HVjbw==, api error MalformedXML: The XML you provided was not well-formed or did not validate against our published schema

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_filter_withoutId (21.05s)
=== CONT  TestAccS3BucketReplicationConfiguration_withoutStorageClass
--- PASS: TestAccS3BucketReplicationConfiguration_withoutStorageClass (43.11s)
=== CONT  TestAccS3BucketReplicationConfiguration_withoutId
--- PASS: TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAddAccessControlTranslation (76.48s)
=== CONT  TestAccS3BucketReplicationConfiguration_replicaModifications
    bucket_replication_configuration_test.go:516: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-8332156920861849885-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: 29PCZPX2WV74TDDR, HostID: PPs8ma+yJy9EQ+xuJUIXa3SAWyi+NlUOJnl/w6DFwz3wmM0lqGidrC02i4TX+o4qYmjeCLN6Jrs=, api error InvalidRequest: Priority must be specified for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- PASS: TestAccS3BucketReplicationConfiguration_withoutId (43.82s)
=== CONT  TestAccS3BucketReplicationConfiguration_replicationTimeControl
--- FAIL: TestAccS3BucketReplicationConfiguration_replicaModifications (20.84s)
=== CONT  TestAccS3BucketReplicationConfiguration_multipleDestinationsNonEmptyFilter
=== NAME  TestAccS3BucketReplicationConfiguration_replicationTimeControl
    bucket_replication_configuration_test.go:462: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-8901063465684459691-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: FBH2JY4RV3BNVHEP, HostID: /pWlew1zpzhqOgceLbDbYZl5f42cxudsce6YA4OmLyVrSiUoSvbScIgIxtOfHlucbAz/Duhp6QQ=, api error InvalidRequest: Priority must be specified for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_replicationTimeControl (21.02s)
=== CONT  TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAccessControlTranslation
--- PASS: TestAccS3BucketReplicationConfiguration_multipleDestinationsNonEmptyFilter (44.27s)
=== CONT  TestAccS3BucketReplicationConfiguration_twoDestination
--- PASS: TestAccS3BucketReplicationConfiguration_twoDestination (42.86s)
=== CONT  TestAccS3BucketReplicationConfiguration_filter_emptyConfigurationBlock
--- PASS: TestAccS3BucketReplicationConfiguration_configurationRuleDestinationAccessControlTranslation (83.67s)
=== CONT  TestAccS3BucketReplicationConfiguration_filter_tagFilter
=== NAME  TestAccS3BucketReplicationConfiguration_filter_emptyConfigurationBlock
    bucket_replication_configuration_test.go:827: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-7069375532507503824-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: 15KPYW749Q1CTJMX, HostID: 8O1U/qE1AxjMa0oFaPk3HhFWyoTIInnoVy40BKffa7pNM1uTVQH+13QNndw/mRB8Q+qcINjuko8=, api error MalformedXML: The XML you provided was not well-formed or did not validate against our published schema

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_filter_emptyConfigurationBlock (21.13s)
=== CONT  TestAccS3BucketReplicationConfiguration_filter_emptyPrefix
=== NAME  TestAccS3BucketReplicationConfiguration_filter_tagFilter
    bucket_replication_configuration_test.go:917: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-559494889894129713-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: SY9T57K1P75D4H64, HostID: uRE6mb6Puo2z8oKyWZyKJ+qMbV1+bTSLLzftUDfKswNFdL7j0g8OswA3Xh/3DFaQ2za/5+rbizA=, api error InvalidRequest: Priority must be specified for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_filter_tagFilter (20.81s)
=== CONT  TestAccS3BucketReplicationConfiguration_multipleDestinationsEmptyFilter
=== NAME  TestAccS3BucketReplicationConfiguration_filter_emptyPrefix
    bucket_replication_configuration_test.go:870: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-5984674732763602379-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: QAD8CWR1Q92K9YWX, HostID: BTyFRhVxCWADOOZFsaIrpvF2SeI7a0SIqFt0TAbRj6jTZUcVcfNd2D0OGZUDPFxpeNIqUIEX5g4=, api error MalformedXML: The XML you provided was not well-formed or did not validate against our published schema

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_filter_emptyPrefix (20.99s)
=== CONT  TestAccS3BucketReplicationConfiguration_schemaV2DestinationMetrics
=== NAME  TestAccS3BucketReplicationConfiguration_multipleDestinationsEmptyFilter
    bucket_replication_configuration_test.go:133: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-6934307818895341033-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: AA024YVGR2TC3ZFS, HostID: Nuqzt6Z4gc+adin2NsynxVoy8jAn5+ew9ddnyFzR7uDsB0jRvpXstRlzRTJ+cDEeKNsQuAT2fAI=, api error MalformedXML: The XML you provided was not well-formed or did not validate against our published schema

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 71, in resource "aws_s3_bucket_replication_configuration" "test":
          71: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_multipleDestinationsEmptyFilter (21.06s)
=== CONT  TestAccS3BucketReplicationConfiguration_schemaV2SameRegion
=== NAME  TestAccS3BucketReplicationConfiguration_schemaV2DestinationMetrics
    bucket_replication_configuration_test.go:737: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-2374667212311572152-source) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: Y1BMZTM31B43ZJPD, HostID: hoEm0fsaBoPhvVQ7B9WsUa710BUPgDfTw/n8HfjQJoCBNt+WVgA8RpFkjipXmG1cs8+oQl2SosM=, api error InvalidRequest: Priority must be specified for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 47, in resource "aws_s3_bucket_replication_configuration" "test":
          47: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_schemaV2DestinationMetrics (20.36s)
=== CONT  TestAccS3BucketReplicationConfiguration_disappears
=== NAME  TestAccS3BucketReplicationConfiguration_schemaV2SameRegion
    bucket_replication_configuration_test.go:695: Step 1/2 error: Error running apply: exit status 1

        Error: creating S3 Bucket (tf-acc-test-6796932585806202747) Replication Configuration: operation error S3: PutBucketReplication, https response error StatusCode: 400, RequestID: 6ZN9J4XZFB5NJ9FY, HostID: DVDrCsqqC2u3qRdsvD3WUplL9Y6l6YwrjWTTKBMJk2mgpVqGlQgmfCAv3/+s/GdGegA0Dv5ga68=, api error InvalidRequest: Priority must be specified for this version of Cross Region Replication configuration schema. Please refer to S3 Developer Guide for more information.

          with aws_s3_bucket_replication_configuration.test,
          on terraform_plugin_test.tf line 44, in resource "aws_s3_bucket_replication_configuration" "test":
          44: resource "aws_s3_bucket_replication_configuration" "test" {

--- FAIL: TestAccS3BucketReplicationConfiguration_schemaV2SameRegion (33.61s)
--- PASS: TestAccS3BucketReplicationConfiguration_disappears (54.31s)
FAIL
FAIL	github.com/hashicorp/terraform-provider-aws/internal/service/s3	482.251s
FAIL
make: *** [testacc] Error 1
ewbankkit and others added 17 commits September 27, 2023 13:56
% make testacc TESTARGS='-run=TestAccS3BucketObject_' PKG=s3 ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/s3/... -v -count 1 -parallel 2  -run=TestAccS3BucketObject_ -timeout 360m
=== RUN   TestAccS3BucketObject_noNameNoKey
=== PAUSE TestAccS3BucketObject_noNameNoKey
=== RUN   TestAccS3BucketObject_empty
=== PAUSE TestAccS3BucketObject_empty
=== RUN   TestAccS3BucketObject_source
=== PAUSE TestAccS3BucketObject_source
=== RUN   TestAccS3BucketObject_content
=== PAUSE TestAccS3BucketObject_content
=== RUN   TestAccS3BucketObject_etagEncryption
=== PAUSE TestAccS3BucketObject_etagEncryption
=== RUN   TestAccS3BucketObject_contentBase64
=== PAUSE TestAccS3BucketObject_contentBase64
=== RUN   TestAccS3BucketObject_sourceHashTrigger
=== PAUSE TestAccS3BucketObject_sourceHashTrigger
=== RUN   TestAccS3BucketObject_withContentCharacteristics
=== PAUSE TestAccS3BucketObject_withContentCharacteristics
=== RUN   TestAccS3BucketObject_nonVersioned
=== PAUSE TestAccS3BucketObject_nonVersioned
=== RUN   TestAccS3BucketObject_updates
=== PAUSE TestAccS3BucketObject_updates
=== RUN   TestAccS3BucketObject_updateSameFile
=== PAUSE TestAccS3BucketObject_updateSameFile
=== RUN   TestAccS3BucketObject_updatesWithVersioning
=== PAUSE TestAccS3BucketObject_updatesWithVersioning
=== RUN   TestAccS3BucketObject_updatesWithVersioningViaAccessPoint
=== PAUSE TestAccS3BucketObject_updatesWithVersioningViaAccessPoint
=== RUN   TestAccS3BucketObject_kms
=== PAUSE TestAccS3BucketObject_kms
=== RUN   TestAccS3BucketObject_sse
=== PAUSE TestAccS3BucketObject_sse
=== RUN   TestAccS3BucketObject_acl
=== PAUSE TestAccS3BucketObject_acl
=== RUN   TestAccS3BucketObject_metadata
=== PAUSE TestAccS3BucketObject_metadata
=== RUN   TestAccS3BucketObject_storageClass
=== PAUSE TestAccS3BucketObject_storageClass
=== RUN   TestAccS3BucketObject_tags
=== PAUSE TestAccS3BucketObject_tags
=== RUN   TestAccS3BucketObject_tagsLeadingSingleSlash
=== PAUSE TestAccS3BucketObject_tagsLeadingSingleSlash
=== RUN   TestAccS3BucketObject_tagsLeadingMultipleSlashes
=== PAUSE TestAccS3BucketObject_tagsLeadingMultipleSlashes
=== RUN   TestAccS3BucketObject_tagsMultipleSlashes
=== PAUSE TestAccS3BucketObject_tagsMultipleSlashes
=== RUN   TestAccS3BucketObject_objectLockLegalHoldStartWithNone
=== PAUSE TestAccS3BucketObject_objectLockLegalHoldStartWithNone
=== RUN   TestAccS3BucketObject_objectLockLegalHoldStartWithOn
=== PAUSE TestAccS3BucketObject_objectLockLegalHoldStartWithOn
=== RUN   TestAccS3BucketObject_objectLockRetentionStartWithNone
=== PAUSE TestAccS3BucketObject_objectLockRetentionStartWithNone
=== RUN   TestAccS3BucketObject_objectLockRetentionStartWithSet
=== PAUSE TestAccS3BucketObject_objectLockRetentionStartWithSet
=== RUN   TestAccS3BucketObject_objectBucketKeyEnabled
=== PAUSE TestAccS3BucketObject_objectBucketKeyEnabled
=== RUN   TestAccS3BucketObject_bucketBucketKeyEnabled
=== PAUSE TestAccS3BucketObject_bucketBucketKeyEnabled
=== RUN   TestAccS3BucketObject_defaultBucketSSE
=== PAUSE TestAccS3BucketObject_defaultBucketSSE
=== RUN   TestAccS3BucketObject_ignoreTags
=== PAUSE TestAccS3BucketObject_ignoreTags
=== CONT  TestAccS3BucketObject_noNameNoKey
=== CONT  TestAccS3BucketObject_acl
--- PASS: TestAccS3BucketObject_noNameNoKey (3.78s)
=== CONT  TestAccS3BucketObject_objectLockLegalHoldStartWithOn
--- PASS: TestAccS3BucketObject_objectLockLegalHoldStartWithOn (67.41s)
=== CONT  TestAccS3BucketObject_ignoreTags
--- PASS: TestAccS3BucketObject_acl (97.86s)
=== CONT  TestAccS3BucketObject_defaultBucketSSE
--- PASS: TestAccS3BucketObject_defaultBucketSSE (26.30s)
=== CONT  TestAccS3BucketObject_bucketBucketKeyEnabled
--- PASS: TestAccS3BucketObject_ignoreTags (53.37s)
=== CONT  TestAccS3BucketObject_objectBucketKeyEnabled
--- PASS: TestAccS3BucketObject_bucketBucketKeyEnabled (26.84s)
=== CONT  TestAccS3BucketObject_objectLockRetentionStartWithSet
--- PASS: TestAccS3BucketObject_objectBucketKeyEnabled (41.84s)
=== CONT  TestAccS3BucketObject_objectLockRetentionStartWithNone
--- PASS: TestAccS3BucketObject_objectLockRetentionStartWithNone (90.72s)
=== CONT  TestAccS3BucketObject_tagsLeadingSingleSlash
--- PASS: TestAccS3BucketObject_objectLockRetentionStartWithSet (112.14s)
=== CONT  TestAccS3BucketObject_objectLockLegalHoldStartWithNone
--- PASS: TestAccS3BucketObject_objectLockLegalHoldStartWithNone (89.89s)
=== CONT  TestAccS3BucketObject_tagsMultipleSlashes
--- PASS: TestAccS3BucketObject_tagsLeadingSingleSlash (100.61s)
=== CONT  TestAccS3BucketObject_tagsLeadingMultipleSlashes
--- PASS: TestAccS3BucketObject_tagsMultipleSlashes (97.60s)
=== CONT  TestAccS3BucketObject_nonVersioned
    acctest.go:1629: 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: TestAccS3BucketObject_nonVersioned (0.00s)
=== CONT  TestAccS3BucketObject_sse
--- PASS: TestAccS3BucketObject_tagsLeadingMultipleSlashes (98.40s)
=== CONT  TestAccS3BucketObject_kms
--- PASS: TestAccS3BucketObject_sse (44.40s)
=== CONT  TestAccS3BucketObject_updatesWithVersioningViaAccessPoint
--- PASS: TestAccS3BucketObject_kms (45.03s)
=== CONT  TestAccS3BucketObject_updatesWithVersioning
--- PASS: TestAccS3BucketObject_updatesWithVersioning (54.08s)
=== CONT  TestAccS3BucketObject_updateSameFile
--- PASS: TestAccS3BucketObject_updatesWithVersioningViaAccessPoint (67.87s)
=== CONT  TestAccS3BucketObject_updates
--- PASS: TestAccS3BucketObject_updateSameFile (51.71s)
=== CONT  TestAccS3BucketObject_storageClass
--- PASS: TestAccS3BucketObject_updates (55.42s)
=== CONT  TestAccS3BucketObject_tags
--- PASS: TestAccS3BucketObject_tags (101.20s)
=== CONT  TestAccS3BucketObject_etagEncryption
--- PASS: TestAccS3BucketObject_storageClass (123.68s)
=== CONT  TestAccS3BucketObject_withContentCharacteristics
--- PASS: TestAccS3BucketObject_etagEncryption (44.43s)
=== CONT  TestAccS3BucketObject_sourceHashTrigger
--- PASS: TestAccS3BucketObject_withContentCharacteristics (40.86s)
=== CONT  TestAccS3BucketObject_contentBase64
--- PASS: TestAccS3BucketObject_sourceHashTrigger (48.48s)
=== CONT  TestAccS3BucketObject_metadata
--- PASS: TestAccS3BucketObject_contentBase64 (41.17s)
=== CONT  TestAccS3BucketObject_source
--- PASS: TestAccS3BucketObject_source (44.97s)
=== CONT  TestAccS3BucketObject_content
--- PASS: TestAccS3BucketObject_metadata (84.55s)
=== CONT  TestAccS3BucketObject_empty
--- PASS: TestAccS3BucketObject_content (44.36s)
--- PASS: TestAccS3BucketObject_empty (43.28s)
PASS
ok  	github.com/hashicorp/terraform-provider-aws/internal/service/s3	945.555s
…legalupdate

aws_cloudfront_distribution: IllegalUpdate test
…ccount information for account 123456789012 is not found' errors.
…ion-gov-cloud

r/aws_quicksight_vpc_connection: Fix sweeper in US GovCloud
…ent_configuration-aws-sdk-v2

r/aws_s3_bucket_intelligent_tiering_configuration et al.: Migrate to AWS SDK for Go v2
…s-lowercase

S3 Object `metadata` keys are returned in lowercase
@mbialon mbialon merged commit c97ea1b into opentofu:main Sep 27, 2023
26 of 36 checks passed
@github-actions
Copy link

Community Note

Voting for Prioritization

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

For Submitters

  • Review the contribution guide relating to the type of change you are making to ensure all of the necessary steps have been taken.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.
  • Whether or not the branch has been rebased will not impact prioritization, but doing so is always a welcome surprise.

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants