-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
68 lines (57 loc) · 1.99 KB
/
outputs.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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
output "arn" {
description = "The ARN of the SNS topic."
value = aws_sns_topic.this.arn
}
output "id" {
description = "The ID of the SNS topic."
value = aws_sns_topic.this.id
}
output "owner" {
description = "The AWS Account ID of the SNS topic owner."
value = aws_sns_topic.this.owner
}
output "name" {
description = "The name for the SNS topic."
value = aws_sns_topic.this.name
}
output "display_name" {
description = "The display name for a topic with SMS subscriptions."
value = aws_sns_topic.this.display_name
}
output "type" {
description = "The type of the SNS topic."
value = "FIFO"
}
output "content_based_deduplication" {
description = "Whether to enable default message deduplication based on message content."
value = aws_sns_topic.this.content_based_deduplication
}
output "xray_tracing_enabled" {
description = "Whether to activate AWS X-Ray Active Tracing mode for the SNS topic."
value = aws_sns_topic.this.tracing_config == "Active"
}
output "signature_version" {
description = "The signature version corresponds to the hashing algorithm used while creating the signature of the notifications, subscription confirmations, or unsubscribe confirmation messages sent by Amazon SNS."
value = aws_sns_topic.this.signature_version
}
output "encryption_at_rest" {
description = "A configuration to encrypt at rest in the SNS topic."
value = {
enabled = var.encryption_at_rest.enabled
kms_key = aws_sns_topic.this.kms_master_key_id
}
}
output "z" {
description = "The list of log streams for the log group."
value = {
for k, v in aws_sns_topic.this :
k => v
if !contains(["id", "arn", "name", "name_prefix", "display_name", "owner", "tags", "tags_all", "signature_version", "kms_master_key_id", "tracing_config", "content_based_deduplication", "fifo_topic"], k)
}
}
output "zz" {
description = "The list of log streams for the log group."
value = {
policy = aws_sns_topic_policy.this
}
}