/terraform-sqs-lambda-trigger-example

Example on how to create a AWS Lambda triggered by SQS in Terraform

Primary LanguageHCLApache License 2.0Apache-2.0

terraform-sqs-lambda-trigger-example

Example on how to create a AWS Lambda triggered by SQS in Terraform

Note: This depends on terraform-aws-provider 1.26.0

Usage

$ terraform apply
$ aws sqs send-message --queue-url $(terraform output sqs_url) --message-body "hello, world"

Resources