Skip to content

Commit

Permalink
SNS topic ARN output
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschwarzenberger committed Aug 20, 2024
1 parent bd4fc1a commit ad3aa02
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
}

0 comments on commit ad3aa02

Please sign in to comment.