forked from terraform-aws-modules/terraform-aws-sns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
37 lines (30 loc) · 1.21 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
################################################################################
# Topic
################################################################################
output "topic_arn" {
description = "The ARN of the SNS topic, as a more obvious property (clone of id)"
value = try(aws_sns_topic.this[0].arn, null)
}
output "topic_id" {
description = "The ARN of the SNS topic"
value = try(aws_sns_topic.this[0].id, null)
}
output "topic_name" {
description = "The name of the topic"
value = try(aws_sns_topic.this[0].name, null)
}
output "topic_owner" {
description = "The AWS Account ID of the SNS topic owner"
value = try(aws_sns_topic.this[0].owner, null)
}
output "topic_beginning_archive_time" {
description = "The oldest timestamp at which a FIFO topic subscriber can start a replay"
value = try(aws_sns_topic.this[0].beginning_archive_time, null)
}
################################################################################
# Subscription(s)
################################################################################
output "subscriptions" {
description = "Map of subscriptions created and their attributes"
value = aws_sns_topic_subscription.this
}