Example on how to create a AWS Lambda triggered by SQS in Terraform
Note: This depends on terraform-aws-provider 1.26.0
$ terraform apply
$ aws sqs send-message --queue-url $(terraform output sqs_url) --message-body "hello, world"
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Example on how to create a AWS Lambda triggered by SQS in Terraform
Note: This depends on terraform-aws-provider 1.26.0
$ terraform apply
$ aws sqs send-message --queue-url $(terraform output sqs_url) --message-body "hello, world"