Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[serverless-offline-sqs] Missing Query Param Rejection( Queue Name), Missing Form Field Rejection( Queue Url) #189

Open
nicolaspfernandes opened this issue Jul 26, 2021 · 0 comments

Comments

@nicolaspfernandes
Copy link

Hi!

I'm having troubles with putting some serverless functions running together with serverless-offline-sqs package within a Docker container. Whenever I start my container, it recognizes the queues, mount my functions, but suddenly this error appears:

image

Tried to find any useful information on the docs, but couldn't find any.
Am I missing something? Thanks for the help!

serverless-offline-sqs config:

serverless-offline-sqs:
    autoCreate: false
    apiVersion: "2012-11-05"
    endpoint: http://elasticmq:9324
    region: some-region
    accessKeyId: some-acccess-key
    secretAccessKey: some-secret-access-key
    skipCacheInvalidation: false

My queue name for a dev environment is custom configured as:

  sqs-queue-name:
    dev: "arn:aws:sqs:some-region:root:QueueName.fifo"

elastic.conf is done like this:

queues {
    QueueName {
        defaultVisibilityTimeout = 10 seconds
        delay = 1 seconds
        receiveMessageWait = 0 seconds
        fifo = true
        contentBasedDeduplication = true    
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant