NiksonX / terraform-aws-sns

Terraform module which creates SNS resources on AWS

Home Page:https://registry.terraform.io/modules/terraform-aws-modules/sns/aws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS SNS Topic Terraform module

Terraform module which creates SNS resources on AWS

Usage

module "sns_topic" {
  source  = "terraform-aws-modules/sns/aws"
  version = "~> 3.0"

  name  = "my-topic"
}

Examples

Requirements

Name Version
terraform >= 0.12.26
aws >= 3.37

Providers

Name Version
aws >= 3.37

Modules

No modules.

Resources

Name Type
aws_sns_topic.this resource

Inputs

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

Outputs

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

Authors

Module is maintained by Anton Babenko with help from these awesome contributors.

License

Apache 2 Licensed. See LICENSE for full details.

About

Terraform module which creates SNS resources on AWS

https://registry.terraform.io/modules/terraform-aws-modules/sns/aws

License:Apache License 2.0


Languages

Language:HCL 100.0%