How to set up Amazon S3 replication in LocalStack?

I’ve been trying to set up replication between two buckets in Amazon S3 in LocalStack CLI (using awslocal) but so far I haven’t been able to make it work. I followed the official example but maybe I’m missing something that must be changed when using LocalStack. No error is thrown but in the end when I issue a put-object request the object is not replicated from the source to the destination bucket.

1 Like

I am also trying to do same thing here. But my objects also not getting replicated.
I am interested to know whether you have found any solution for this ?
Thanks

S3 Bucket Replication is not yet emulated in LocalStack, here’s the open feature request in the GitHub repository: feature request: Support for S3 bucket object cross-region and cross-account replication · Issue #10759 · localstack/localstack · GitHub

It’s currently only mocked, and the replication is not taking place.

Please feel free to upvote the GitHub issue so we can prioritize the request. Thank you!