Skip to content

Commit 3d3b993

Browse files
chrisbloerobg-test
authored andcommitted
Subbing var.zone_id
1 parent be3be5a commit 3d3b993

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infrastructure/modules/ses/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "aws_ses_domain_mail_from" "reporting" {
3838

3939
resource "aws_route53_record" "ses_mail_from_mx" {
4040
count = var.enable ? 1 : 0
41-
zone_id = module.route53_fargate_ui.zone_id
41+
zone_id = var.zone_id
4242
name = "mail.${terraform.workspace}.${var.domain}"
4343
type = "MX"
4444
ttl = 600
@@ -50,7 +50,7 @@ resource "aws_route53_record" "ses_mail_from_mx" {
5050

5151
resource "aws_route53_record" "ses_mail_from_spf" {
5252
count = var.enable ? 1 : 0
53-
zone_id = module.route53_fargate_ui.zone_id
53+
zone_id = var.zone_id
5454
name = "mail.${terraform.workspace}.${var.domain}"
5555
type = "TXT"
5656
ttl = 600

0 commit comments

Comments
 (0)