Bulk Delete Queues in AWS

This is a post to myself. Due to a faulty application we have a lot of dead queues in AWS SQS. To get rid of them I wrote the following script that I executed in a container that has the AWS CLI installed

The script is quick and dirty and deals with the fact that the AWS CLI returns the list of queues as a JSON array.

Easing the use of the AWS CLI