From 256af91d3ce25be1bc6bb6867d462b637ac31fcb Mon Sep 17 00:00:00 2001 From: Rhys Cox Date: Fri, 26 Jun 2026 12:06:46 +0100 Subject: [PATCH] CCM-13913: Added additional required outputs --- docs/Gemfile.lock | 29 ++++++++++--------- .../terraform/modules/eventpub/README.md | 2 ++ .../terraform/modules/eventpub/outputs.tf | 18 ++++++++++++ 3 files changed, 35 insertions(+), 14 deletions(-) diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 54437187..96a8e5ed 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - activesupport (8.1.1) + activesupport (8.1.3) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.3.1) @@ -18,9 +18,9 @@ GEM public_suffix (>= 2.0.2, < 8.0) base64 (0.3.0) bigdecimal (4.1.2) - cgi (0.5.1) + cgi (0.5.2) colorator (1.1.0) - concurrent-ruby (1.3.6) + concurrent-ruby (1.3.7) connection_pool (3.0.2) csv (3.3.5) drb (2.2.3) @@ -34,17 +34,17 @@ GEM ffi (1.17.4-x86_64-linux-gnu) forwardable-extended (2.6.0) gemoji (4.1.0) - google-protobuf (4.34.1-arm64-darwin) + google-protobuf (4.35.1-arm64-darwin) bigdecimal rake (~> 13.3) - google-protobuf (4.34.1-x86_64-linux-gnu) + google-protobuf (4.35.1-x86_64-linux-gnu) bigdecimal rake (~> 13.3) html-pipeline (2.14.3) activesupport (>= 2) nokogiri (>= 1.4) http_parser.rb (0.8.1) - i18n (1.14.8) + i18n (1.15.2) concurrent-ruby (~> 1.0) jekyll (4.4.1) addressable (~> 2.4) @@ -83,7 +83,7 @@ GEM gemoji (>= 3, < 5) html-pipeline (~> 2.2) jekyll (>= 3.0, < 5.0) - json (2.19.5) + json (2.20.0) just-the-docs (0.12.0) jekyll (>= 3.8.5) jekyll-include-cache @@ -104,15 +104,16 @@ GEM jekyll (>= 3.5, < 5.0) jekyll-feed (~> 0.9) jekyll-seo-tag (~> 2.1) - minitest (6.0.0) + minitest (6.0.6) + drb (~> 2.0) prism (~> 1.5) - nokogiri (1.19.3-arm64-darwin) + nokogiri (1.19.4-arm64-darwin) racc (~> 1.4) - nokogiri (1.19.3-x86_64-linux-gnu) + nokogiri (1.19.4-x86_64-linux-gnu) racc (~> 1.4) pathutil (0.16.2) forwardable-extended (~> 2.6) - prism (1.6.0) + prism (1.9.0) public_suffix (7.0.5) racc (1.8.1) rake (13.4.2) @@ -122,9 +123,9 @@ GEM rexml (3.4.4) rouge (4.7.0) safe_yaml (1.0.5) - sass-embedded (1.99.0-arm64-darwin) + sass-embedded (1.101.0-arm64-darwin) google-protobuf (~> 4.31) - sass-embedded (1.99.0-x86_64-linux-gnu) + sass-embedded (1.101.0-x86_64-linux-gnu) google-protobuf (~> 4.31) securerandom (0.4.1) terminal-table (3.0.2) @@ -152,4 +153,4 @@ DEPENDENCIES wdm (~> 0.1.1) BUNDLED WITH - 2.5.10 + 4.0.9 diff --git a/infrastructure/terraform/modules/eventpub/README.md b/infrastructure/terraform/modules/eventpub/README.md index d9811dc8..f013f131 100644 --- a/infrastructure/terraform/modules/eventpub/README.md +++ b/infrastructure/terraform/modules/eventpub/README.md @@ -46,9 +46,11 @@ | Name | Description | |------|-------------| +| [dlq](#output\_dlq) | EventPub DLQ name and ARN | | [publishing\_anomaly\_alarm](#output\_publishing\_anomaly\_alarm) | CloudWatch anomaly detection alarm details for SNS publishing | | [s3\_bucket\_event\_cache](#output\_s3\_bucket\_event\_cache) | S3 Bucket ARN and Name for event cache | | [sns\_topic](#output\_sns\_topic) | SNS Topic ARN and Name | +| [sqs\_queue](#output\_sqs\_queue) | EventPub SQS queue name, ARN, and DLQ details | diff --git a/infrastructure/terraform/modules/eventpub/outputs.tf b/infrastructure/terraform/modules/eventpub/outputs.tf index 81049f3a..2787f33a 100644 --- a/infrastructure/terraform/modules/eventpub/outputs.tf +++ b/infrastructure/terraform/modules/eventpub/outputs.tf @@ -6,6 +6,24 @@ output "sns_topic" { } } +output "dlq" { + description = "EventPub DLQ name and ARN" + value = { + arn = aws_sqs_queue.dlq.arn + name = aws_sqs_queue.dlq.name + } +} + +output "sqs_queue" { + description = "EventPub SQS queue name, ARN, and DLQ details" + value = { + arn = module.sqs_queue.sqs_queue_arn + name = module.sqs_queue.sqs_queue_name + dlq_arn = module.sqs_queue.sqs_dlq_arn + dlq_name = module.sqs_queue.sqs_dlq_name + } +} + output "s3_bucket_event_cache" { description = "S3 Bucket ARN and Name for event cache" value = var.enable_event_cache ? {