-
-
Notifications
You must be signed in to change notification settings - Fork 166
/
Copy pathoutputs.tf
32 lines (26 loc) · 1.01 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
################################################################################
# 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)
}
################################################################################
# Subscription(s)
################################################################################
output "subscriptions" {
description = "Map of subscriptions created and their attributes"
value = aws_sns_topic_subscription.this
}