AWS Messaging 0.9.1
Simple Notification Service (SNS) Topic to Simple Queuing Service (SQS) Connection Module
View SourceRelease NotesThis module makes it easy to subscribe a SQS to a SNS topic after both have been successfully created.
Sample Usage
- Terraform
- Terragrunt
main.tf
# ------------------------------------------------------------------------------------------------------
# DEPLOY GRUNTWORK'S SNS-SQS-CONNECTION MODULE
# ------------------------------------------------------------------------------------------------------
module "sns_sqs_connection" {
source = "git::git@github.com:gruntwork-io/terraform-aws-messaging.git//modules/sns-sqs-connection?ref=v0.9.1"
# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
# ----------------------------------------------------------------------------------------------------
# The arn of the topic to subscribe to.
sns_topic_arn = <INPUT REQUIRED>
# The queue arn for the Simple Queue Service (SQS).
sqs_arn = <INPUT REQUIRED>
# The queue URL for the Simple Queue Service (SQS).
sqs_queue_url = <INPUT REQUIRED>
}
terraform.tfvars
# Coming soon!
Reference
- Inputs
- Outputs
Required
sns_topic_arnstringThe arn of the topic to subscribe to.
sqs_arnstringThe queue arn for the Simple Queue Service (SQS).
sqs_queue_urlstringThe queue URL for the Simple Queue Service (SQS).