Advanced Configuration
SQS-triggered Lambda Function

A Lambda function that are triggered by incoming messages from SQS queue.
The following code provisions an SQS queue new-visitors and a Lambda Function add-visitor-to-database. The Lambda Function is triggered for each new messages that are put in the aforementioned queue:
| main.tf | |
|---|---|