We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0584858 + 1da4bc5 commit 98d1fdfCopy full SHA for 98d1fdf
domain.tf
@@ -22,6 +22,8 @@ resource "aws_route53_record" "mx" {
22
23
# Add Route53 TXT record for SPF
24
resource "aws_route53_record" "txt" {
25
+ count = var.enable_txt ? 1 : 0
26
+
27
zone_id = data.aws_route53_zone.default.zone_id
28
name = aws_ses_domain_identity.default.id
29
type = "TXT"
variables.tf
@@ -70,3 +70,9 @@ variable "s3_bucket_encryption_enabled" {
70
default = true
71
description = "When set to 'true' the 'aws_s3_bucket' resource will have AES256 encryption enabled by default"
72
}
73
74
+variable "create_txt" {
75
+ type = bool
76
+ default = true
77
+}
78
0 commit comments