Search code examples
amazon-web-servicesamazon-sqsboto3

Creating a fifo queue in SQS using boto3


Can anyone help me with creating a fifo queue in sqs using boto3. Tried this but this doesn’t work

sqs.create_queue(QueueName='test', Attributes={'FifoQueue':'true’})

Solution

  • Your queue name has to end in .fifo and you have to be using either us-west-2 or us-east-2 region as those are the only regions that currently support the FIFO feature.