-
Notifications
You must be signed in to change notification settings - Fork 109
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
Lambda + SQS examples/best practices #627
Comments
localstack/localstack#7774 should help with this, together with #444 |
I've transferred the issue to our docs repository. I think there is some value in adding specific examples to the SQS service page. |
with the new lambda provider of 2.0, SQS endpoint resolution now works out of the box when using |
Is there an existing issue for this?
Question
Are there any examples or guides around best practices when using Lambdas and SQS queues?
In our case we need to access the related SQS queues both from
localhost
and from the Lambdas, but what we are doing seems rather complex. We are using LocalStack through TestContainers and we configure LocalStack as follows:Then we create the necessary SQS queues through an AWS SQS client and retrieve their URL.
Then we pass the URLs to Lambdas through environment variables when creating them, but for the Lambdas to use the right URLs we need to do the following:
Is there a simpler way? Thanks.
The text was updated successfully, but these errors were encountered: