Skip to content

Commit 27ccf78

Browse files
authored
fix: use var.domain in terraform for domain verification (#223)
1 parent c9286c0 commit 27ccf78

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

terraform/website/dns.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# domain verification with Microsoft
22
resource "aws_route53_record" "mx_verification" {
33
zone_id = data.aws_route53_zone.main.zone_id
4-
name = "@"
4+
name = var.domain
55
type = "MX"
66
ttl = 3600
77
records = ["10 ms21173179.msv1.invalid"]
@@ -10,7 +10,7 @@ resource "aws_route53_record" "mx_verification" {
1010
# domain verification with Microsoft
1111
resource "aws_route53_record" "txt_record" {
1212
zone_id = data.aws_route53_zone.main.zone_id
13-
name = "@"
13+
name = var.domain
1414
type = "TXT"
1515
ttl = 3600
1616
records = ["MS=ms21173179"]

0 commit comments

Comments
 (0)