Skip to content

Commit

Permalink
Merge pull request #9211 from ministryofjustice/TM-851
Browse files Browse the repository at this point in the history
TM-851 Build out prod mail relay resources
  • Loading branch information
vc13837 authored Jan 2, 2025
2 parents 680e42b + 882334e commit 9c3331a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"example_var": "preproduction-data"
},
"production": {
"example_var": "production-data"
"env_short": "prod",
"smtp_ami_id": "ami-07c2c2bf769d5174d",
"smtp_instance_type": "t2.large",
"old_mail_server_url": "mail.aws.prd.legalservices.gov.uk"
}
}
}
2 changes: 1 addition & 1 deletion terraform/environments/laa-mail-relay/ses.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_sesv2_email_identity" "postfix" {
email_identity = local.environment == "production" ? "tbc" : data.aws_route53_zone.external.name
email_identity = data.aws_route53_zone.external.name
configuration_set_name = local.environment == "production" ? aws_sesv2_configuration_set.postfix[0].configuration_set_name : null
dkim_signing_attributes {
next_signing_key_length = "RSA_1024_BIT"
Expand Down

0 comments on commit 9c3331a

Please sign in to comment.