You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, explicit queues (defined in resources) fail to get created on AWS SQS (when pointing actual AWS service), and on sqslite (when pointing locally to sqslite). The failure stems from the fact that the queue name is in an Attribute in request body:
and the resulting error coming from AWS is InvalidAttributeName: Unknown Attribute QueueName, while sqslite fails silently with 400 (although internally it's the same attribute validation error).
I have not tested it on ElasticMQ, but if queue creation works on ElasticMQ, it would simply mean that ElasticMQ is lacking attribute validation and whenever they fix it/implement it to be consistent with AWS, queue creation will not work there either.
The text was updated successfully, but these errors were encountered:
tomusiaka
changed the title
[serverless-offline-sqs] Can't create explicit queue queues on AWS or sqslite
[serverless-offline-sqs] Can't create explicit queues on AWS or sqslite
Oct 20, 2022
When
autoCreate
is set totrue
, implicit queues get created fine. The request body for queue creation looks like this:However, explicit queues (defined in
resources
) fail to get created on AWS SQS (when pointing actual AWS service), and on sqslite (when pointing locally to sqslite). The failure stems from the fact that the queue name is in anAttribute
in request body:and the resulting error coming from AWS is
InvalidAttributeName: Unknown Attribute QueueName
, while sqslite fails silently with 400 (although internally it's the same attribute validation error).I have not tested it on ElasticMQ, but if queue creation works on ElasticMQ, it would simply mean that ElasticMQ is lacking attribute validation and whenever they fix it/implement it to be consistent with AWS, queue creation will not work there either.
The text was updated successfully, but these errors were encountered: