This is a small TS script to replay SQS messages from one queue to another. It is basically useful to replay messages which fell into a dead letter queue.
Install dependencies using npm i
and then run the replay script :
./replay <from> <to> ...args
--region
- The region in which the queues exists.--fifo
- Is the queue a FIFO queue.--delete
- Should messages be deleted from the original queue. (enabled by default)