SQS-QueueCreator
$ apt-get install python-pip$ pip install -U botoSQS-QueueCreator
$ apt-get install python-pip$ pip install -U boto| riri | |
| fifi | |
| loulou |
| #! /usr/bin/env python2 | |
| from boto.sqs import connect_to_region | |
| conn = connect_to_region('eu-west-1', | |
| aws_access_key_id='xyz', | |
| aws_secret_access_key='xyz') | |
| with open('queue_ids.txt') as f: | |
| for server_id in [line.strip() for line in f]: | |
| print(server_id) | |
| q = conn.create_queue(server_id) | |
| q.set_attribute('ReceiveMessageWaitTimeSeconds', 20) |