IMPORTANT: The master branch is used in source just as an example. You can directly supply a topic and ARN by hand in the topic_arn property along with the queue ARN: Alternatively you can use the ARN properties of a managed SNS topic and SQS queue: You can subscribe SNS topics to SQS queues in different Amazon accounts and regions: Partially supported SNS protocols include: Unsupported protocols include the following: These are unsupported because the endpoint needs to be authorized and does not generate an ARN until the target email address has been validated. Our track record is not even funny. In addition to all arguments above, the following attributes are exported: SNS Topic Subscriptions can be imported using the subscription arn, e.g. How to use Terraform to create an AWS SNS topic and SQS queue together with a Lambda function. We're a DevOps Professional Services company based in Los Angeles, CA.

Come here to collaborate on answers, find solutions, and get ideas about the products and services we value.

Submit pull-requests to terraform011 branch. Please enable Javascript to use this application We use essential cookies to perform essential website functions, e.g. An integer from 1024 bytes (1 KiB) up to 262144 bytes (256 KiB). It's FREE for everyone! We literally have hundreds of terraform modules that are Open Source and well-maintained. (it helps us a lot), Are you using this project or any of our other projects? Consider leaving a testimonial. The IAM role permitted to receive success feedback for this topic, The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK, The prefix name of the SNS topic to create, A mapping of tags to assign to all resources. Like this project? Registry . IAM role/user ARNs that will have permission to publish to SNS topic. Terraform Module to Provide an Amazon Simple Notification Service (SNS) - cloudposse/terraform-aws-sns-topic Learn more. Participate in our Discourse Forums. Check out our other projects, follow us on twitter, apply for a job, or hire us to help with your cloud strategy and implementation. Receive updates on what we're up to on GitHub as well as awesome new projects we discover. Pin module version to ~> v1.0.

We offer paid support on all of our projects. Terraform module which creates SNS … Additional attributes to distinguish this SNS topic, The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK. they're used to gather information about the pages you visit and how many clicks you need to accomplish a task. It's possible to subscribe SQS as Dead Letter Queue. We ❤️ Open Source Software. Apache 2 Licensed.

If the "aws_sns_topic_subscription" is using a provider with a different region than the SNS topic, terraform will fail to create the subscription. GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together. NOTE: If SNS topic and SQS queue are in different AWS accounts but the same region it is important for the "aws_sns_topic_subscription" to use the AWS provider of the account with the SQS queue.

This is the best place to talk shop, ask questions, solicit feedback, and work together as a community to build totally sweet infrastructure. For more information, see our Privacy Statement. Shoot us an email. Join us every Wednesday via Zoom for our weekly "Lunch & Learn" sessions.

In your code, do not pin to master because there may be breaking changes between releases. =).

[ci skip] Create ".pre-commit-config.yaml". https://www.terraform.io/docs/providers/aws/r/sns_topic_subscription.html, https://www.terraform.io/docs/providers/aws/r/sns_topic_subscription.html. This project is part of our comprehensive "SweetOps" approach towards DevOps. Unfortunately redrive_policy is not yet available in terraform. The most likely use case for Terraform users will probably be SQS queues. This resource allows you to automatically place messages sent to SNS topics in SQS queues, send them as HTTP(S) POST requests to a given endpoint, send SMS messages, or notify devices / applications. Work directly with our team of DevOps experts via email, slack, and video conferencing. they're used to log you in. If nothing happens, download the GitHub extension for Visual Studio and try again. registry.terraform.io/modules/terraform-aws-modules/sns/aws, download the GitHub extension for Visual Studio, from terraform-aws-modules/terraform-provider-…. Please let us know by leaving a testimonial! It's FREE for everyone! We use essential cookies to perform essential website functions, e.g.