diff --git a/src/content/docs/aws/services/sqs.mdx b/src/content/docs/aws/services/sqs.mdx index 85e6cda0..2748723c 100644 --- a/src/content/docs/aws/services/sqs.mdx +++ b/src/content/docs/aws/services/sqs.mdx @@ -58,6 +58,15 @@ awslocal sqs get-queue-attributes \ --attribute-names All ``` +To create a [FIFO queue](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-fifo-queue-message-identifiers.html), the queue name must end with the `.fifo` suffix in addition to the `FifoQueue=true` attribute set: + +```bash +awslocal sqs create-queue --queue-name localstack-queue.fifo --attributes "FifoQueue=true" +{ + "QueueUrl": "http://sqs.us-east-1.localhost.localstack.cloud:4566/000000000000/localstack-queue.fifo" +} +``` + ### Sending and receiving messages from the queue You can send a message to the SQS queue which will be queued and a consumer can pick it up.