From ad3aa02e3f8e3fef86668a90e7026caf1dec95cd Mon Sep 17 00:00:00 2001 From: Paul Schwarzenberger Date: Tue, 20 Aug 2024 08:23:10 +0100 Subject: [PATCH] SNS topic ARN output --- outputs.tf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/outputs.tf b/outputs.tf index ae2487c6..be3c6deb 100644 --- a/outputs.tf +++ b/outputs.tf @@ -8,6 +8,16 @@ output "ca_bundle_s3_location" { description = "S3 location of CA bundle for use as a TrustStore" } +output "external_s3_bucket_name" { + value = module.external_s3.s3_bucket_name + description = "External S3 bucket name" +} + +output "internal_s3_bucket_name" { + value = module.internal_s3.s3_bucket_name + description = "Internal S3 bucket name" +} + output "issuing_ca_cert_s3_location" { value = contains(var.prod_envs, var.env) ? "${module.external_s3.s3_bucket_domain_name}/${var.project}-issuing-ca.crt" : "${module.external_s3.s3_bucket_domain_name}/${var.project}-issuing-ca-${var.env}.crt" description = "S3 location of Issuing CA certificate file" @@ -27,3 +37,8 @@ output "root_ca_crl_s3_location" { value = contains(var.prod_envs, var.env) ? "${module.external_s3.s3_bucket_domain_name}/${var.project}-root-ca.crl" : "${module.external_s3.s3_bucket_domain_name}/${var.project}-root-ca-${var.env}.crl" description = "S3 location of Root CA CRL file" } + +output "sns_topic_arn" { + value = module.sns-ca-notifications.sns_topic_arn + description = "SNS topic ARN" +}