Replication_configuration s3 bucket without creating the destination bucket

I have the following code of a bucket (it has more options but I put the basic ones) and I want to enable the cross-region replication function (using, I guess, in terraform the function replication_configuration )

resource "aws_s3_bucket" "content_source_bucket" {
count           = length(local.inbound_interfaces)
bucket          = "${local.inbound_interfaces[count.index].content_source_name}-${var.resource_group_number}-${data.aws_caller_identity.current.account_id}-${local.inbound_interfaces[count.index].environment}-${}"
force_destroy   = var.bucket_force_destroy
acl             = "private"

versioning {
 enabled = true

server_side_encryption_configuration {
  rule {
    apply_server_side_encryption_by_default {
      sse_algorithm = var.bucket_algorithm

This creates as many buckets as inbound_interfaces I have defined in the main.

Is there a way to enable replication without creating the target buckets as they already exist? (I already have them deployed in the other region)

I’m thinking something like:

If I’m in X region then I have to enable replication in the same bucket but in the Y region.

If possible, how can I validate that condition on terraform and enable cross-region replication?

Also, if possible, avoid:

“Error: Cycle:”