Skip to content

Commit 61b59f4

Browse files
committed
Require TLS for sending form submission via SES
This means that all form submission sent by email will require the to use TLS to send the email from SES to the recipent mailbox. This prevent the connection to be downgraded and the submission to sent over plaintext.
1 parent 1cce1b4 commit 61b59f4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

infra/modules/ses/main.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ resource "aws_sesv2_configuration_set" "form_submissions" {
5555
reputation_metrics_enabled = true
5656
}
5757

58+
delivery_options {
59+
tls_policy = "REQUIRE"
60+
}
61+
5862
suppression_options {
5963
suppressed_reasons = [] # We don't want to use the suppression list for form submission emails
6064
}

0 commit comments

Comments
 (0)