Skip to content

srijanone/terraform-aws-sns

Repository files navigation

AWS SNS Topic Terraform module

Usage

module "sns_topic" {
  source  = "./"
  
  name  = "test_topic"
  display_name = "test"

}

Requirements

Name Version
aws > 2.14.0

Providers

Name Version
aws > 2.14.0

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_delivery_status_logging Whether to create the SNS topic bool true 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
enable_kms Enable KMS on SNS topic bool true 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 friendly name for the SNS topic. By default generated by Terraform. string null no
policy The fully-formed AWS policy as JSON. For more information about building AWS IAM policy documents with Terraform string null no
profile n/a string null no
region n/a string "us-west-2" no
shared_credentials_file n/a string "/Users/username/.aws/credentials" 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 Key-value map of resource tags map(string) {} no

Outputs

Name Description
arn ARN of SNS topic

To Do

  • Add subscriber to SNS topic

Releases

No releases published

Packages

No packages published

Languages