diff --git a/terraform/environments/delius-jitbit/ses.tf b/terraform/environments/delius-jitbit/ses.tf index 30e532ac563..83bfc632048 100644 --- a/terraform/environments/delius-jitbit/ses.tf +++ b/terraform/environments/delius-jitbit/ses.tf @@ -55,7 +55,7 @@ resource "aws_route53_record" "jitbit_amazonses_dmarc_record_prod" { } -resource "aws_route53_record" "jitbit_amazonses_dmarc_record" { +resource "aws_route53_record" "jitbit_amazonses_dmarc_mail_from_record" { count = local.is-production ? 0 : 1 provider = aws.core-vpc zone_id = data.aws_route53_zone.external.zone_id @@ -65,7 +65,7 @@ resource "aws_route53_record" "jitbit_amazonses_dmarc_record" { records = ["v=DMARC1; p=none;"] } -resource "aws_route53_record" "jitbit_amazonses_dmarc_record_prod" { +resource "aws_route53_record" "jitbit_amazonses_dmarc_mail_from_record_prod" { count = local.is-production ? 1 : 0 provider = aws.core-network-services zone_id = data.aws_route53_zone.network-services-production[0].zone_id @@ -95,7 +95,7 @@ resource "aws_route53_record" "jitbit_amazonses_mail_from_txt_record_prod" { records = ["v=spf1 include:amazonses.com ~all"] } -resource "aws_route53_record" "jitbit_amazonses_mail_from_txt_record" { +resource "aws_route53_record" "jitbit_amazonses_txt_record" { count = local.is-production ? 0 : 1 provider = aws.core-vpc zone_id = data.aws_route53_zone.external.zone_id @@ -105,7 +105,7 @@ resource "aws_route53_record" "jitbit_amazonses_mail_from_txt_record" { records = ["v=spf1 include:amazonses.com ~all"] } -resource "aws_route53_record" "jitbit_amazonses_mail_from_txt_record_prod" { +resource "aws_route53_record" "jitbit_amazonsestxt_record_prod" { count = local.is-production ? 1 : 0 provider = aws.core-network-services zone_id = data.aws_route53_zone.network-services-production[0].zone_id