We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab4f993 commit 042fe3bCopy full SHA for 042fe3b
1 file changed
infrastructure/modules/ses/main.tf
@@ -12,7 +12,7 @@ resource "aws_route53_record" "ndr_ses_dkim_record" {
12
count = 3
13
14
zone_id = var.zone_id
15
- name = var.is_sandbox ? "${aws_ses_domain_dkim.ndr_dkim[0].dkim_tokens[count.index]}._domainkey.${terraform.workspace}.dev" : "${aws_ses_domain_dkim.ndr_dkim[0].dkim_tokens[count.index]}._domainkey.${terraform.workspace}"
+ name = var.is_sandbox ? "${aws_ses_domain_dkim.ndr_dkim.dkim_tokens[count.index]}._domainkey.${terraform.workspace}.dev" : "${aws_ses_domain_dkim.ndr_dkim.dkim_tokens[count.index]}._domainkey.${terraform.workspace}"
16
type = "CNAME"
17
ttl = 1800
18
records = ["${aws_ses_domain_dkim.ndr_dkim.dkim_tokens[count.index]}.dkim.amazonses.com"]
0 commit comments