Skip to content

Commit

Permalink
Update ses.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
georgepstaylor committed Jun 25, 2024
1 parent 19ff821 commit 5efc99e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions terraform/environments/delius-jitbit/ses.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5efc99e

Please sign in to comment.