/terraform-aws-sns

Terraform module which creates SNS resources on AWS

Primary LanguageHCLOtherNOASSERTION

AWS SNS Topic Terraform module

Terraform module which creates SNS resources on AWS

This type of resources are supported:

Terraform versions

Terraform 0.12. Pin module version to ~> v2.0. Submit pull-requests to master branch.

Terraform 0.11. Pin module version to ~> v1.0. Submit pull-requests to terraform011 branch.

Usage

module "sns_topic" {
  source  = "terraform-aws-modules/sns/aws"
  version = "~> 2.0"
  
  name  = "my-topic"
}

Examples

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
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
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
this_sns_topic_arn ARN of SNS topic

Authors

Module managed by Anton Babenko.

License

Apache 2 Licensed. See LICENSE for full details.