Cross replication in S3fails

We are getting the error
resource “aws_s3_bucket” “bucket” {
Use the aws_s3_bucket_versioning resource instead

And post 3rd Jan our replication have stopped.

This is the version:
terraform {
required_version = “>= 0.13.0”

required_providers {
aws = {
source = “hashicorp/aws”
version = “>= 3.5.0”
}
}
}

Please guide