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

Feature request: SQS trigger lambda function #5030

Closed
ghost opened this issue Jun 29, 2018 · 3 comments
Closed

Feature request: SQS trigger lambda function #5030

ghost opened this issue Jun 29, 2018 · 3 comments
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Milestone

Comments

@ghost
Copy link

ghost commented Jun 29, 2018

This issue was originally opened by @asimtech12 as hashicorp/terraform#18354. It was migrated here as a result of the provider split. The original body of the issue is below.


AWS have recently released feature where a lambda function can be triggered by SQS message,
We are using terraform in our project for IaC and this feature would simplify our solution.
manually we can use SQS message to trigger lambda using AWS console ::

aws console-->lambda function-->(left pane add trigger)SQS --> select your SQS queue(to listen for updates on)-->add-->save

Thanks
Asim

Terraform Version

terraform version = 1.16.0

References

AWS reference document
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-configure-lambda-function-trigger.html

https://aws.amazon.com/blogs/aws/aws-lambda-adds-amazon-simple-queue-service-to-supported-event-sources/

@bflad bflad added enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service. labels Jun 29, 2018
@flosell
Copy link
Contributor

flosell commented Jul 1, 2018

PR implementing this: #5024

@bflad bflad added this to the v1.26.0 milestone Jul 4, 2018
@bflad
Copy link
Contributor

bflad commented Jul 4, 2018

In version 1.26.0 of the AWS provider, releasing tonight or tomorrow, the aws_lambda_event_source_mapping resource will make starting_position optional and allow batch_size to support default of 10 for SQS.

@bflad bflad closed this as completed Jul 4, 2018
@ghost
Copy link
Author

ghost commented Apr 4, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
Development

No branches or pull requests

2 participants