clone s3 bucket without triggering events
My AWS app includes an s3 event which does some processing when an object lands in a specific bucket. I have a test environment which is a complete copy of the production system so obviously the test bucket also contains the same event processing.
Periodically I want to copy all the data from the production environment into the test environment. However if I use
aws s3 sync this runs the events on every item that is added which is not what I want in this case.
Is there any way to clone a bucket without triggering the events on every single item?