Skip to content

Commit 2a10702

Browse files
committed
feat: add GitHub domain verification TXT record
- add GitHub TXT record for _gh-ColorCop-o.colorcop.net
1 parent 6474326 commit 2a10702

3 files changed

Lines changed: 45 additions & 18 deletions

File tree

terraform/website/dns.tf

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,24 @@ resource "aws_route53_record" "mx_verification" {
88
}
99

1010
# domain verification with Microsoft
11-
resource "aws_route53_record" "txt_record" {
11+
resource "aws_route53_record" "txt_record_microsoft" {
1212
zone_id = data.aws_route53_zone.main.zone_id
1313
name = var.domain
1414
type = "TXT"
1515
ttl = 3600
1616
records = ["MS=ms21173179"]
1717
}
1818

19+
# domain verification with GitHub
20+
resource "aws_route53_record" "txt_record_github" {
21+
zone_id = data.aws_route53_zone.main.zone_id
22+
name = "_gh-ColorCop-o.colorcop.net"
23+
type = "TXT"
24+
ttl = 3600
25+
records = ["938b88b3a4"]
26+
}
27+
28+
1929
# main A record alias to the Cloudfront hostname
2030
resource "aws_route53_record" "www_a" {
2131
zone_id = data.aws_route53_zone.main.zone_id

terragrunt/live/website/.terraform.lock.hcl

Lines changed: 33 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

terragrunt/live/website/terragrunt.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ terraform {
99
inputs = {
1010
env = "live"
1111
domain = "colorcop.net"
12-
}
12+
}

0 commit comments

Comments
 (0)