Skip to content

Commit

Permalink
SNS custom display name
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschwarzenberger committed Aug 11, 2024
1 parent 3f33db3 commit 9645435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/rsa-public-crl/ca.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ module "certificate_authority" {
public_crl = true
cert_info_files = ["tls", "revoked", "revoked-root-ca"]

custom_sns_topic_display_name = "My Company CA Notifications Production"

providers = {
aws = aws
aws.us-east-1 = aws.us-east-1 # certificates for CloudFront must be in this region
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ module "sns-ca-notifications" {
project = var.project
function = "ca-notifications"
env = var.env
custom_sns_topic_display_name = "${title(replace(var.project, "-", ""))} CA Notifications ${title(var.env)}"
custom_sns_topic_display_name = var.custom_sns_topic_display_name
custom_sns_topic_name = var.custom_sns_topic_name
kms_key_arn = coalesce(var.kms_arn_resource, module.kms_tls_keygen.kms_arn)
email_subscriptions = var.sns_email_subscriptions
Expand Down

0 comments on commit 9645435

Please sign in to comment.