This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
forked from terraform-aws-modules/terraform-aws-sns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tf
27 lines (24 loc) · 1.5 KB
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
resource "aws_sns_topic" "this" {
count = var.create_sns_topic ? 1 : 0
name = var.name
name_prefix = var.name_prefix
display_name = var.display_name
policy = var.policy
delivery_policy = var.delivery_policy
application_success_feedback_role_arn = var.application_success_feedback_role_arn
application_success_feedback_sample_rate = var.application_success_feedback_sample_rate
application_failure_feedback_role_arn = var.application_failure_feedback_role_arn
http_success_feedback_role_arn = var.http_success_feedback_role_arn
http_success_feedback_sample_rate = var.http_success_feedback_sample_rate
http_failure_feedback_role_arn = var.http_failure_feedback_role_arn
lambda_success_feedback_role_arn = var.lambda_success_feedback_role_arn
lambda_success_feedback_sample_rate = var.lambda_success_feedback_sample_rate
lambda_failure_feedback_role_arn = var.lambda_failure_feedback_role_arn
sqs_success_feedback_role_arn = var.sqs_success_feedback_role_arn
sqs_success_feedback_sample_rate = var.sqs_success_feedback_sample_rate
sqs_failure_feedback_role_arn = var.sqs_failure_feedback_role_arn
kms_master_key_id = var.kms_master_key_id
fifo_topic = var.fifo_topic
content_based_deduplication = var.content_based_deduplication
tags = var.tags
}