Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 8 additions & 12 deletions terraform/website/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,21 @@ resource "aws_route53_record" "mx_verification" {
records = ["10 ms21173179.msv1.invalid"]
}

# domain verification with Microsoft
resource "aws_route53_record" "txt_record_microsoft" {

resource "aws_route53_record" "txt_records_root" {
zone_id = data.aws_route53_zone.main.zone_id
name = var.domain
type = "TXT"
ttl = 3600
records = ["MS=ms21173179"]
}

# domain verification with GitHub
resource "aws_route53_record" "txt_record_github" {
zone_id = data.aws_route53_zone.main.zone_id
name = "_gh-ColorCop-o.colorcop.net"
type = "TXT"
ttl = 3600
records = ["938b88b3a4"]
records = [
# microsoft domain verification
"MS=ms21173179",
# github
"938b88b3a4"
]
}


# main A record alias to the Cloudfront hostname
resource "aws_route53_record" "www_a" {
zone_id = data.aws_route53_zone.main.zone_id
Expand Down