Skip to content

Commit f6270c2

Browse files
CCM-10258: Discrete Control and Data SNS Topics
1 parent 2581369 commit f6270c2

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

infrastructure/modules/eventpub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
| Name | Description |
4141
|------|-------------|
4242
| <a name="output_s3_bucket_event_cache"></a> [s3\_bucket\_event\_cache](#output\_s3\_bucket\_event\_cache) | S3 Bucket ARN and Name for event cache |
43-
| <a name="output_sns_topic"></a> [sns\_topic](#output\_sns\_topic) | SNS Topic ARN and Name |
43+
| <a name="output_sns_topic"></a> [sns\_topic](#output\_sns\_topic) | SNS Topic ARNs and Names |
4444
<!-- vale on -->
4545
<!-- markdownlint-enable -->
4646
<!-- END_TF_DOCS -->

infrastructure/modules/eventpub/outputs.tf

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
output "sns_topic" {
2-
description = "SNS Topic ARN and Name"
2+
description = "SNS Topic ARNs and Names"
33
value = {
4-
arn = aws_sns_topic.main.arn
5-
name = aws_sns_topic.main.name
4+
for key, value in aws_sns_topic.main :
5+
key => {
6+
arn = value.arn
7+
name = value.name
8+
}
69
}
710
}
811

0 commit comments

Comments
 (0)