From 7574ba181a902abad0ad229d5921bbdc3eb48491 Mon Sep 17 00:00:00 2001
From: Andrew Moore <andrew.moore@digital.justice.gov.uk>
Date: Fri, 26 Apr 2024 12:09:33 +0100
Subject: [PATCH] Disable suppressing bounced email addresses

---
 terraform/environments/delius-jitbit/ses-logging.tf | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/terraform/environments/delius-jitbit/ses-logging.tf b/terraform/environments/delius-jitbit/ses-logging.tf
index 55c7d5a803d..83562787409 100644
--- a/terraform/environments/delius-jitbit/ses-logging.tf
+++ b/terraform/environments/delius-jitbit/ses-logging.tf
@@ -5,6 +5,12 @@
 resource "aws_sesv2_configuration_set" "jitbit_ses_configuration_set" {
   configuration_set_name = format("%s-configuration-set", local.application_name)
 
+  suppression_options { 
+    suppressed_reasons = [
+      "COMPLAINT"
+    ]
+  }
+
   tags = local.tags
 }