Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Apr 1, 2021
1 parent 3d12aae commit 3951826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ses-domain/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ locals {
ses_dns_ttl = 600
ses_dns_value = aws_ses_domain_identity.this.verification_token
ses_sns_topic = format("%v-%v", var.ses_sns_topic_name, local.region)
ses_event_types = [for x in var.ses_event_notification_types : x if contains(lookup(local._defaults["ses"]["event_types"], []), x)]
ses_event_types = [for x in var.ses_event_notification_types : x if contains(lookup(local._defaults["ses"], "event_types", []), x)]
enable_sns_events = var.enable_sns_events && length(local.ses_event_types) > 0

ses_output = templatefile("${path.module}/ses_dns.md.tpl", {
Expand Down

0 comments on commit 3951826

Please sign in to comment.