diff --git a/internal/service/s3/bucket_replication_configuration_test.go b/internal/service/s3/bucket_replication_configuration_test.go index d2a33bc294e8..53b9ed0617b8 100644 --- a/internal/service/s3/bucket_replication_configuration_test.go +++ b/internal/service/s3/bucket_replication_configuration_test.go @@ -878,6 +878,10 @@ func TestAccS3BucketReplicationConfiguration_filter_emptyPrefix(t *testing.T) { ResourceName: resourceName, ImportState: true, ImportStateVerify: true, + // The "rule" parameter as a TypeList will not have non-nil value + // if prefix was specified as an empty string, which was used as workaround + // when the parameter was a TypeSet + ImportStateVerifyIgnore: []string{"rule.0.filter.0.prefix"}, }, }, })