Terraform module which creates SNS resources on AWS
module "sns_topic" {
source = "terraform-aws-modules/sns/aws"
version = "~> 3.0"
name = "my-topic"
}
Name | Version |
---|---|
terraform | >= 0.12.26 |
aws | >= 3.37 |
Name | Version |
---|---|
aws | >= 3.37 |
No modules.
Name | Type |
---|---|
aws_sns_topic.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
application_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
application_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
application_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
content_based_deduplication | Boolean indicating whether or not to enable content-based deduplication for FIFO topics. | bool |
false |
no |
create_sns_topic | Whether to create the SNS topic | bool |
true |
no |
delivery_policy | The SNS delivery policy | string |
null |
no |
display_name | The display name for the SNS topic | string |
null |
no |
fifo_topic | Boolean indicating whether or not to create a FIFO (first-in-first-out) topic | bool |
false |
no |
http_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
http_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
http_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
kms_master_key_id | The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK | string |
null |
no |
lambda_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
lambda_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
lambda_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
name | The name of the SNS topic to create | string |
null |
no |
name_prefix | The prefix name of the SNS topic to create | string |
null |
no |
policy | The fully-formed AWS policy as JSON | string |
null |
no |
sqs_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
sqs_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
sqs_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
tags | A mapping of tags to assign to all resources | map(string) |
{} |
no |
Name | Description |
---|---|
sns_topic_arn | ARN of SNS topic |
sns_topic_id | ID of SNS topic |
sns_topic_name | NAME of SNS topic |
sns_topic_owner | OWNER of SNS topic |
Module is maintained by Anton Babenko with help from these awesome contributors.
Apache 2 Licensed. See LICENSE for full details.