Skip to content Skip to sidebar Skip to footer

Serverless Does Not Create SQS Events

I am trying to make serverless create a trigger to fire whenever an object queues. But it does not create and also does not fire any errors. My serverless.yml: I did according to t

Solution 1:

The problem is with the indentation in your YAML file, just add two spaces in front of "arn" and "batchSize"


Solution 2:

enter image description here Add 2 spaces on the sqs. Added a picture for good measure!


Solution 3:

You have to create queue by yourself, as mentioned in documentation.
Because serverless won't create SQS for you, it can only put listener on already existing queue.
You can find how to do it here.
Serverless don't create SQS for you because there is two types of queues available to choose according to your needs. It's up to you to choose the queue type, then create it and only after this serverless will find your queue and attach worker.


Post a Comment for "Serverless Does Not Create SQS Events"